aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorVlad Serebrennikov <serebrennikov.vladislav@gmail.com>2023-05-20 11:17:06 +0300
committerVlad Serebrennikov <serebrennikov.vladislav@gmail.com>2023-05-20 11:17:44 +0300
commit14f245d01a1ee489a13e843e9c77cecf5c7183a9 (patch)
tree76680b1fbff8aeec15af29b04714992727c03b3f /clang/lib/CodeGen/CodeGenAction.cpp
parenta4f366dcd85c440a611bbc82f1d24c2d9a735251 (diff)
downloadllvm-14f245d01a1ee489a13e843e9c77cecf5c7183a9.zip
llvm-14f245d01a1ee489a13e843e9c77cecf5c7183a9.tar.gz
llvm-14f245d01a1ee489a13e843e9c77cecf5c7183a9.tar.bz2
[clang] Add test for CWG399
[[https://wg21.link/p1787 | P1787]]: CWG399 is resolved by explicitly appealing to the lookup for the last component of any suitable nested-name-specifier. Wording: Otherwise, its nested-name-specifier N shall nominate a type. If N has another nested-name-specifier S, Q is looked up as if its lookup context were that nominated by S. ([basic.lookup.qual]/6.2) CWG399 revisits a resolution to older CWG244. Our test for CWG244 covers many examples from CWG399, and it was updated in 2020 presumably aware of P1787, so I reused CWG244 test. This approach to reusing was discussed in [[https://reviews.llvm.org/D139095 | a CWG405 patch review]]. Reviewed By: #clang-language-wg, aaron.ballman, shafik Differential Revision: https://reviews.llvm.org/D147920
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions