[llvm] [ADT] Implement EnumeratedArray with std::array (NFC) (PR #158407)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 13 09:42:07 PDT 2025


kazutakahirata wrote:

> Nice. I think the side-effect is that this now allows for 0-sized arrays. Could we add a test for this?

@kuhar I added `static_assert` to disallow 0-sized arrays.


https://github.com/llvm/llvm-project/pull/158407


More information about the llvm-commits mailing list