https://github.com/AaronBallman commented:
Thank you for working on this! One more thing to be sure to test are constant expressions and constant initialization support. e.g., ``` constexpr _Atomic _BitInt(12) i = 100; // okay constexpr _Atomic _BitInt(3) j = 100; // error due to overflow i++; --i; // etc ``` We should also make sure there is *not* an `ATOMIC_BITINT_LOCK_FREE` macro being defined nor an `atomic_bit_int` type name (one isn't permitted by the standard, which is different from the other builtin types). https://github.com/llvm/llvm-project/pull/204815 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
