[libcxx-commits] [libcxx] [libc++][Android] Always redirect <stdatomic.h> to <atomic> (PR #143036)
Ryan Prichard via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jun 8 16:10:17 PDT 2025
================
@@ -7,7 +7,10 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: no-threads
-// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20
+
+// On Android, libc++'s <stdatomic.h> header always redirects to <atomic>, even before C++23.
+// UNSUPPORTED: c++03
----------------
rprichard wrote:
It probably shouldn't be on a separate line -- it looks like libc++ does support `<atomic>` for C++03.
Though now I'm wondering if the `UNSUPPORTED` directive ought to be `XFAIL` instead. I think the libc++ project usually prefers `XFAIL` when we know that a test should fail.
https://github.com/llvm/llvm-project/pull/143036
More information about the libcxx-commits
mailing list