[PATCH] [libcxx] Mark atomic tests UNSUPPORTED for c++03 and c++98.

Eric Fiselier eric at efcs.ca
Thu Oct 23 20:15:14 PDT 2014


Hi mclow.lists, danalbert, jroelofs,

clang doesn't provide the atomic intrinsics in C++03 and lower so even including atomic leads to a compile error. This header is strictly not supported in c++03.

http://reviews.llvm.org/D5955

Files:
  test/atomics/atomics.fences/atomic_signal_fence.pass.cpp
  test/atomics/atomics.fences/atomic_thread_fence.pass.cpp
  test/atomics/atomics.flag/atomic_flag_clear.pass.cpp
  test/atomics/atomics.flag/atomic_flag_clear_explicit.pass.cpp
  test/atomics/atomics.flag/atomic_flag_test_and_set.pass.cpp
  test/atomics/atomics.flag/atomic_flag_test_and_set_explicit.pass.cpp
  test/atomics/atomics.flag/clear.pass.cpp
  test/atomics/atomics.flag/copy_assign.fail.cpp
  test/atomics/atomics.flag/copy_ctor.fail.cpp
  test/atomics/atomics.flag/copy_volatile_assign.fail.cpp
  test/atomics/atomics.flag/default.pass.cpp
  test/atomics/atomics.flag/init.pass.cpp
  test/atomics/atomics.flag/test_and_set.pass.cpp
  test/atomics/atomics.lockfree/lockfree.pass.cpp
  test/atomics/atomics.order/kill_dependency.pass.cpp
  test/atomics/atomics.order/memory_order.pass.cpp
  test/atomics/atomics.types.generic/address.pass.cpp
  test/atomics/atomics.types.generic/bool.pass.cpp
  test/atomics/atomics.types.generic/cstdint_typedefs.pass.cpp
  test/atomics/atomics.types.generic/integral.pass.cpp
  test/atomics/atomics.types.generic/integral_typedefs.pass.cpp
  test/atomics/atomics.types.generic/trivially_copyable.fail.cpp
  test/atomics/atomics.types.generic/trivially_copyable.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak_explicit.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange_explicit.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_add_explicit.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_and_explicit.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_or_explicit.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_sub_explicit.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_fetch_xor_explicit.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_init.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_is_lock_free.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load_explicit.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store_explicit.pass.cpp
  test/atomics/atomics.types.operations/atomics.types.operations.req/atomic_var_init.pass.cpp
  test/atomics/version.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5955.15375.patch
Type: text/x-patch
Size: 22822 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141024/acf3add5/attachment.bin>


More information about the cfe-commits mailing list