[clang] Mark CWG2331 as N/A
authorVlad Serebrennikov <serebrennikov.vladislav@gmail.com>
Sat, 15 Apr 2023 10:15:05 +0000 (13:15 +0300)
committerVlad Serebrennikov <serebrennikov.vladislav@gmail.com>
Sat, 15 Apr 2023 10:15:45 +0000 (13:15 +0300)
[[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

clang/test/CXX/drs/dr23xx.cpp
clang/www/cxx_dr_status.html

index 51879e9..c77df0a 100644 (file)
@@ -171,6 +171,8 @@ void g() {
 } //namespace dr2303
 #endif
 
+// dr2331: na
+
 namespace dr2370 { // dr2370: no
 namespace N {
 typedef int type;
index ef45809..855a440 100755 (executable)
@@ -13793,7 +13793,7 @@ and <I>POD class</I></td>
     <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>