diff options
author | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2023-04-24 11:52:31 +0300 |
---|---|---|
committer | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2023-04-24 11:53:04 +0300 |
commit | 0a113c4c50f65a7d26d20be84bfb56562154753f (patch) | |
tree | 6d7d5f010c6547f8a696dc3ce6a405023a30c1e9 /clang/lib/Frontend/FrontendAction.cpp | |
parent | a4e420ea642ad8a375458e3e975fe21b610b5081 (diff) | |
download | llvm-0a113c4c50f65a7d26d20be84bfb56562154753f.zip llvm-0a113c4c50f65a7d26d20be84bfb56562154753f.tar.gz llvm-0a113c4c50f65a7d26d20be84bfb56562154753f.tar.bz2 |
[clang] Mark CWG2009 as N/A
[[https://wg21.link/p1787 | P1787]]: CWG2331 is resolved by defining lookup from complete-class contexts and out-of-line member definitions. The rest of CWG2009 is resolved by making it ill-formed NDR for forward lookup outside a complete-class context to change the results (before overload resolution, to avoid differences in instantiation).
Wording: The result of the search is the declaration set of S(N, T). If it is an invalid set, the program is ill-formed. If it differs from the result of a search in T for N from immediately after the class-specifier of T, the program is ill-formed, no diagnostic required. ([class.member.lookup]/7)
Reviewed By: #clang-language-wg, shafik
Differential Revision: https://reviews.llvm.org/D148263
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
0 files changed, 0 insertions, 0 deletions