[clang] Add test for CWG191
authorVlad Serebrennikov <serebrennikov.vladislav@gmail.com>
Fri, 7 Apr 2023 13:50:23 +0000 (17:50 +0400)
committerVlad Serebrennikov <serebrennikov.vladislav@gmail.com>
Fri, 7 Apr 2023 13:54:38 +0000 (17:54 +0400)
commit653a82e95257a7cd3f22c24e40d54459a6608429
treebed33d7feb31af4837cc0bdcdc0b8d6e1609eeaa
parent8385ee05e59d2e05f0040c5dbdd0580b3e75f36b
[clang] Add test for CWG191

Also mark CWG1200 as "na."

[[https://wg21.link/p1787 | P1787]]: CWG191 and CWG1200 are resolved by defining unqualified lookup in terms of every enclosing scope.
Wording: If no declarations are found, the results of the unqualified search are the results of an unqualified search in the parent scope of S, if any, from P. ([basic.lookup.unqual]/2)

Reviewed By: #clang-language-wg, shafik

Differential Revision: https://reviews.llvm.org/D147530
clang/test/CXX/drs/dr12xx.cpp
clang/test/CXX/drs/dr1xx.cpp
clang/www/cxx_dr_status.html