llvm-project/libcxx/test/std/atomics
Eric Fiselier 15a297212f [libcxx] [test] Replace non-Standard "atomic_flag f(false);" with Standard "atomic_flag f;"
Summary:
Replace non-Standard "atomic_flag f(false);" with Standard "atomic_flag f;" in clear tests.
Although the  value of 'f' is unspecified it shouldn't matter because these tests always call `f.test_and_set()` without checking the result, so the initial state shouldn't matter.

The test init03.pass.cpp is explicitly testing this non-Standard extension; It has been moved into the `test/libcxx` directory.

Reviewers: mclow.lists, STL_MSFT

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D19758

llvm-svn: 268355
2016-05-03 02:12:26 +00:00
..
atomics.fences
atomics.flag [libcxx] [test] Replace non-Standard "atomic_flag f(false);" with Standard "atomic_flag f;" 2016-05-03 02:12:26 +00:00
atomics.general
atomics.lockfree Implement is_always_lock_free 2016-03-25 15:48:21 +00:00
atomics.order
atomics.syn
atomics.types.generic Fix various GCC mis-configurations for newer versions. 2015-12-15 00:32:21 +00:00
atomics.types.operations Add missing license headers 2016-01-19 21:52:04 +00:00
version.pass.cpp