llvm-project/libcxx/test/std/thread
Arthur O'Dwyer d430330788 [libc++] Update and normalize the "all the headers" tests.
Some C++20 headers weren't added properly to all three of these
test files. Add them, and take the time to normalize the formatting
so that

    diff <(grep '#include' foo.cpp) <(grep '#include' bar.cpp)

shows no diffs (except that `no_assert_include` deliberately
excludes `<cassert>`).

- Add macro guards to <{barrier,latch,semaphore}>.
- Add macro guards to <experimental/simd>.
- Remove an include of <cassert> from <semaphore>.
- Instead, include <cassert> in the semaphore tests.

Differential Revision: https://reviews.llvm.org/D92525
2020-12-03 15:01:38 -05:00
..
futures [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.barrier [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.condition [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.general Support tests in freestanding 2019-02-04 20:31:13 +00:00
thread.latch [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.mutex [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.req [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
thread.semaphore [libc++] Update and normalize the "all the headers" tests. 2020-12-03 15:01:38 -05:00
thread.threads [libc++] ADL-proof <thread>, and eliminate `using namespace chrono`. 2020-12-01 22:13:39 -05:00
macro.pass.cpp libcxx: Define __STDCPP_THREADS__ to 1, not to __cplusplus. 2019-07-30 14:32:47 +00:00