Author: Vlad Serebrennikov Date: 2023-04-15T13:15:45+03:00 New Revision: 19ef8e8446df10b6bebf6301c1a3e9e8000f842c
URL: https://github.com/llvm/llvm-project/commit/19ef8e8446df10b6bebf6301c1a3e9e8000f842c DIFF: https://github.com/llvm/llvm-project/commit/19ef8e8446df10b6bebf6301c1a3e9e8000f842c.diff LOG: [clang] Mark CWG2331 as N/A [[https://wg21.link/p1787 | P1787]]: CWG2331 is resolved by defining lookup from complete-class contexts and out-of-line member definitions. Wording: The declaration set is the result of a single search in the scope of C for N from immediately after the class-specifier of C if P is in a complete-class context of C or from P otherwise. ([class.member.lookup]/4) Reviewed By: #clang-language-wg, shafik Differential Revision: https://reviews.llvm.org/D148260 Added: Modified: clang/test/CXX/drs/dr23xx.cpp clang/www/cxx_dr_status.html Removed: ################################################################################ diff --git a/clang/test/CXX/drs/dr23xx.cpp b/clang/test/CXX/drs/dr23xx.cpp index 51879e913c6ba..c77df0a72f5e6 100644 --- a/clang/test/CXX/drs/dr23xx.cpp +++ b/clang/test/CXX/drs/dr23xx.cpp @@ -171,6 +171,8 @@ void g() { } //namespace dr2303 #endif +// dr2331: na + namespace dr2370 { // dr2370: no namespace N { typedef int type; diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html index ef45809d2d5a9..855a4408fc245 100755 --- a/clang/www/cxx_dr_status.html +++ b/clang/www/cxx_dr_status.html @@ -13793,7 +13793,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2> <td><a href="https://cplusplus.github.io/CWG/issues/2331.html">2331</a></td> <td>CD6</td> <td>Redundancy in description of class scope</td> - <td class="none" align="center">Unknown</td> + <td class="na" align="center">N/A</td> </tr> <tr id="2332"> <td><a href="https://cplusplus.github.io/CWG/issues/2332.html">2332</a></td> _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits