[PATCH] D148260: [clang] Mark CWG2331 as N/A

Vlad Serebrennikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 13 11:12:21 PDT 2023


Endill created this revision.
Endill added reviewers: clang-language-wg, shafik.
Herald added a project: All.
Endill requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

P1787 <https://wg21.link/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)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148260

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


Index: clang/www/cxx_dr_status.html
===================================================================
--- clang/www/cxx_dr_status.html
+++ clang/www/cxx_dr_status.html
@@ -13793,7 +13793,7 @@
     <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>
Index: clang/test/CXX/drs/dr23xx.cpp
===================================================================
--- clang/test/CXX/drs/dr23xx.cpp
+++ clang/test/CXX/drs/dr23xx.cpp
@@ -171,6 +171,8 @@
 } //namespace dr2303
 #endif
 
+// dr2331: na
+
 namespace dr2370 { // dr2370: no
 namespace N {
 typedef int type;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148260.513311.patch
Type: text/x-patch
Size: 862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230413/5ff4b4bc/attachment.bin>


More information about the cfe-commits mailing list