[libcxx-commits] [PATCH] D97044: [libc++] [C++2b] [P0943] Add stdatomic.h header.
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 7 13:03:46 PST 2022
ldionne added inline comments.
================
Comment at: libcxx/include/stdatomic.h:124
+
+#ifdef __cplusplus
+
----------------
hubert.reinterpretcast wrote:
> Please see thread re: unintended consequences of enabling C++ `stdatomic.h` for applications currently using the C one with Clang:
> https://llvm.discourse.group/t/compiling-with-built-in-stdatomic-vs-stdatomic-h/6225
After reading the thread, I assume what you mean is that we should be `#include_next`ing the platform `<stdatomic.h>` if we're in C++ < 23?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97044/new/
https://reviews.llvm.org/D97044
More information about the libcxx-commits
mailing list