[clang] [C23] No longer assert on huge enumerator values (PR #81760)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 16 13:26:33 PST 2024


https://github.com/efriedma-quic approved this pull request.

LGTM

Note you can get a similar crash using `enum x { X = (__uint128_t)(1<<64) };`.  I'm a little surprised we haven't run into this before C23.

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


More information about the cfe-commits mailing list