Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AK: Fix Clang 16 UBSan issue with zero-length
Array
The current implementation of `Array<T, 0>` has a zero-length C array as its storage type. While this is accepted as a GNU extension, when compiling with Clang 16, an UBSan error is raised every time an object is accessed whose only field is a zero-length array. This is likely a bug in Clang 16's implementation of UBSan, which has been reported here: llvm/llvm-project#61775
- Loading branch information