diff options
Diffstat (limited to 'contrib/llvm-project/libcxx/include/stdatomic.h')
-rw-r--r-- | contrib/llvm-project/libcxx/include/stdatomic.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/contrib/llvm-project/libcxx/include/stdatomic.h b/contrib/llvm-project/libcxx/include/stdatomic.h index 9c002e52918e..79772eb7fce1 100644 --- a/contrib/llvm-project/libcxx/include/stdatomic.h +++ b/contrib/llvm-project/libcxx/include/stdatomic.h @@ -123,14 +123,14 @@ using std::atomic_signal_fence // see below #if defined(__cplusplus) && _LIBCPP_STD_VER >= 23 -#include <atomic> -#include <version> +# include <atomic> +# include <version> -#ifdef _Atomic -# undef _Atomic -#endif +# ifdef _Atomic +# undef _Atomic +# endif -#define _Atomic(_Tp) ::std::atomic<_Tp> +# define _Atomic(_Tp) ::std::atomic<_Tp> using std::memory_order _LIBCPP_USING_IF_EXISTS; using std::memory_order_relaxed _LIBCPP_USING_IF_EXISTS; @@ -226,9 +226,9 @@ using std::atomic_thread_fence _LIBCPP_USING_IF_EXISTS; // the header. We do this because Clang has historically shipped a <stdatomic.h> // header that would be available in all Standard modes, and we don't want to // break that use case. -# if __has_include_next(<stdatomic.h>) -# include_next <stdatomic.h> -# endif +# if __has_include_next(<stdatomic.h>) +# include_next <stdatomic.h> +# endif #endif // defined(__cplusplus) && _LIBCPP_STD_VER >= 23 |