[clang] Add flag to suppress overflow errors in C++ constant expressions. (PR #102390)

Hubert Tong via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 10 15:42:05 PDT 2024


hubert-reinterpretcast wrote:

I don't see a compelling reason for the extension and I find its behaviour somewhat arbitrary: why is it okay to allow the overflow in the definition of an enumerator but not okay to allow for `alignas`?

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


More information about the cfe-commits mailing list