llvm-project/libcxx/test
Jonathan Wakely ef843c8271 [libc++] Fix ADL for `make_error_{code,condition}`
Implement LWG 3629, by making lookup for make_error_code and
make_error_condition only consider names found by ADL. This is achieved
by adding a block scope using-declaration for a function that will be
found by unqualified lookup, preventing unqualified lookup from
continuing to enclosing scopes (the class scope, then enclosing
namespaces). The function named by the using declaration is not
viable, so overload resolution must select a candidate found by ADL.

This fixes https://github.com/llvm/llvm-project/issues/57614

Differential Revision: https://reviews.llvm.org/D134943
2022-09-30 17:23:45 -04:00
..
configs [runtimes] Remove all traces of the legacy testing configuration system 2022-09-30 15:03:33 -04:00
libcxx [libc++] Include skipped headers in the --trace-includes output 2022-09-29 15:07:10 -04:00
std [libc++] Fix ADL for `make_error_{code,condition}` 2022-09-30 17:23:45 -04:00
support [libc++] Remove unique usage of the en_US locale in a test 2022-09-30 14:59:55 -04:00
.clang-tidy [libc++] Add clang-tidy for the tests 2022-07-20 11:26:49 +02:00
CMakeLists.txt [runtimes] Remove all traces of the legacy testing configuration system 2022-09-30 15:03:33 -04:00
lit.cfg.py