From 19ef8e8446df10b6bebf6301c1a3e9e8000f842c Mon Sep 17 00:00:00 2001 From: Vlad Serebrennikov Date: Sat, 15 Apr 2023 13:15:05 +0300 Subject: [PATCH] [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 --- clang/test/CXX/drs/dr23xx.cpp | 2 ++ clang/www/cxx_dr_status.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/clang/test/CXX/drs/dr23xx.cpp b/clang/test/CXX/drs/dr23xx.cpp index 51879e9..c77df0a 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 ef45809..855a440 100755 --- a/clang/www/cxx_dr_status.html +++ b/clang/www/cxx_dr_status.html @@ -13793,7 +13793,7 @@ and POD class 2331 CD6 Redundancy in description of class scope - Unknown + N/A 2332 -- 2.7.4