================ @@ -104,6 +107,7 @@ typedef _Atomic(long) atomic_long; typedef _Atomic(unsigned long) atomic_ulong; typedef _Atomic(long long) atomic_llong; typedef _Atomic(unsigned long long) atomic_ullong; +typedef _Atomic(unsigned char) atomic_char8_t; typedef _Atomic(uint_least16_t) atomic_char16_t; typedef _Atomic(uint_least32_t) atomic_char32_t; ---------------- MitalAshok wrote:
Should the definition of `atomic_char8_t` also be gated behind C23/C++20? Also in C++20, this should be `_Atomic(char8_t)`, but the next two are also wrong in C++11 (`_Atomic(char16_t)`/`_Atomic(char32_t)`) https://github.com/llvm/llvm-project/pull/97208 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits