summaryrefslogtreecommitdiffstats
path: root/libcxx/test/atomics/atomics.flag/default.pass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move test into test/std subdirectory.Eric Fiselier2014-12-201-33/+0
| | | | llvm-svn: 224658
* Allow libc++ to be built on systems without POSIX threadsJonathan Roelofs2014-09-051-0/+2
| | | | | | | | | | If you're crazy enough to want this sort of thing, then add -D_LIBCPP_HAS_NO_THREADS to your CXXFLAGS and --param=additiona_features=libcpp-has-no-threads to your lit commnad line. http://reviews.llvm.org/D3969 llvm-svn: 217271
* Stephan Tolksdorf: fixes the issue in the <atomic> header and adds ↵Howard Hinnant2013-05-021-0/+9
| | | | | | | | corresponding tests. I've used macros to fall back to a user-provided default constructor if _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS (though I suspect that there won't be many users defining that macro). The tests use placement new to check that atomic values get properly zero-initialized. I had to modify the atomic_is_lock_free test, because default initialization of an object of const type 'const A' (aka 'const atomic<int>') requires a user-provided default constructor. llvm-svn: 180945
* license changeHoward Hinnant2010-11-161-2/+2
| | | | llvm-svn: 119395
* [atomics.flag] completed. Initialization is not working on clang and can't ↵Howard Hinnant2010-09-301-0/+22
be made to work without defaulted default constructors. llvm-svn: 115207
OpenPOWER on IntegriCloud