[libcxx-commits] [libcxx] [libc++] Enable C++ stdatomic.h for all C++ versions (PR #95498)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 19 06:43:33 PDT 2024


================
@@ -154,10 +154,14 @@ using std::atomic_long _LIBCPP_USING_IF_EXISTS;
 using std::atomic_ulong _LIBCPP_USING_IF_EXISTS;
 using std::atomic_llong _LIBCPP_USING_IF_EXISTS;
 using std::atomic_ullong _LIBCPP_USING_IF_EXISTS;
+#  ifndef _LIBCPP_HAS_NO_CHAR8_T
----------------
ldionne wrote:

Right. `char8_t` is not supported before C++20 so this starts failing when we don't have the attribute. Ok, I think that's acceptable.

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


More information about the libcxx-commits mailing list