[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
Fri Jun 14 05:58:42 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:

The using-if-exists attribute should handle this, is there a reason why you're adding this `#if`?

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


More information about the libcxx-commits mailing list