llvm-project/libcxx/test/std/thread/thread.threads/thread.thread.class
Arthur O'Dwyer cb8a0b0797 [libc++] [ranges] Introduce _LIBCPP_AUTO_CAST(x) for auto(x).
Clang is gaining `auto(x)` support in D113393; sadly there
seems to be no feature-test macro for it. Zhihao is opening
a core issue for that macro.

Use `_LIBCPP_AUTO_CAST` where C++20 specifies we should use `auto(x)`;
stop using `__decay_copy(x)` in those places.
In fact, remove `__decay_copy` entirely. As of C++20, it's purely
a paper specification tool signifying "Return just `x`, but it was
perfect-forwarded, so we understand you're going to have to call
its move-constructor sometimes." I believe there's no reason we'd
ever need to do its operation explicitly in code.

This heisenbugs away a test failure on MinGW; see D112214.

Differential Revision: https://reviews.llvm.org/D115686
2021-12-22 12:29:42 -05:00
..
thread.thread.algorithm [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.thread.assign [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.thread.constr [libc++] [ranges] Introduce _LIBCPP_AUTO_CAST(x) for auto(x). 2021-12-22 12:29:42 -05:00
thread.thread.destr [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.thread.id [libc++] Add a libc++ configuration that does not support localization 2020-10-27 14:56:30 -04:00
thread.thread.member [libcxx] [test] Fix spurious failures in the thread join test on Windows 2021-07-12 23:31:53 +03:00
thread.thread.static [libcxx][CI][AIX] Switch to LLVM_ENABLE_RUNTIMES 2021-11-09 16:04:10 -05:00