llvm-project/libcxx/test/std/thread/thread.threads/thread.thread.class
Arthur O'Dwyer 40950a44b9 [libc++] ADL-proof <thread>, and eliminate `using namespace chrono`.
Since we know exactly which identifiers we expect to find in `chrono`,
a using-directive seems like massive overkill. Remove the directives
and qualify the names as needed.

One subtle trick here: In two places I replaced `*__p` with `*__p.get()`.
The former is an unqualified call to `operator*` on a class type, which
triggers ADL and breaks the new test. The latter is a call to the
built-in `operator*` on pointers, which specifically
does NOT trigger ADL thanks to [over.match.oper]/1.

Differential Revision: https://reviews.llvm.org/D92243
2020-12-01 22:13:39 -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++] ADL-proof <thread>, and eliminate `using namespace chrono`. 2020-12-01 22:13:39 -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 [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
thread.thread.static Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00