[PATCH] D19758: [libcxx] [test] Replace non-Standard "atomic_flag f(false); " with Standard "atomic_flag f = ATOMIC_FLAG_INIT; ".

Stephan T. Lavavej via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 29 18:49:01 PDT 2016


STL_MSFT created this revision.
STL_MSFT added reviewers: EricWF, mclow.lists.
STL_MSFT added a subscriber: cfe-commits.

[libcxx] [test] Replace non-Standard "atomic_flag f(false);" with Standard "atomic_flag f = ATOMIC_FLAG_INIT;".

The test init03.pass.cpp is explicitly testing this non-Standard extension; I'm not changing it here, but it should be moved to the libcxx subdirectory.

http://reviews.llvm.org/D19758

Files:
  test/std/atomics/atomics.flag/atomic_flag_clear.pass.cpp
  test/std/atomics/atomics.flag/atomic_flag_clear_explicit.pass.cpp
  test/std/atomics/atomics.flag/clear.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19758.55700.patch
Type: text/x-patch
Size: 4403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160430/0b4c0d14/attachment.bin>


More information about the cfe-commits mailing list