Compare commits

...

3 Commits

Author SHA1 Message Date
Howard Hinnant
1badbee851 Tagging 17
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/tags/libcpp-17@128700 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-01 00:56:31 +00:00
Howard Hinnant
b35e5e29aa made better error message for <atomic>
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/tags/libcpp-16@128699 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-01 00:54:26 +00:00
Howard Hinnant
d6c08cd1ae Tagging 16
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/tags/libcpp-16@127472 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-11 18:16:05 +00:00

View File

@@ -530,6 +530,10 @@ void atomic_signal_fence(memory_order m);
_LIBCPP_BEGIN_NAMESPACE_STD
#if !__has_feature(cxx_atomic)
#error <atomic> is not implemented
#else
typedef enum memory_order
{
memory_order_relaxed, memory_order_consume, memory_order_acquire,
@@ -1502,6 +1506,8 @@ typedef atomic<uintmax_t> atomic_uintmax_t;
#define ATOMIC_LONG_LOCK_FREE 0
#define ATOMIC_LLONG_LOCK_FREE 0
#endif // !__has_feature(cxx_atomic)
_LIBCPP_END_NAMESPACE_STD
#endif // _LIBCPP_ATOMIC