Endill updated this revision to Diff 510793. Endill edited the summary of this revision. Endill added a comment.
Mark CWG1200 as "na" and enable newer standard versions in RUN lines Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147530/new/ https://reviews.llvm.org/D147530 Files: clang/test/CXX/drs/dr12xx.cpp clang/test/CXX/drs/dr1xx.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 @@ -1183,7 +1183,7 @@ <td><a href="https://wg21.link/cwg191">191</a></td> <td>CD6</td> <td>Name lookup does not handle complex nesting</td> - <td class="none" align="center">Unknown</td> + <td class="full" align="center">Yes</td> </tr> <tr id="192"> <td><a href="https://wg21.link/cwg192">192</a></td> @@ -7007,7 +7007,7 @@ <td><a href="https://wg21.link/cwg1200">1200</a></td> <td>CD6</td> <td>Lookup rules for template parameters</td> - <td class="none" align="center">Unknown</td> + <td class="na" align="center">N/A</td> </tr> <tr id="1201"> <td><a href="https://wg21.link/cwg1201">1201</a></td> Index: clang/test/CXX/drs/dr1xx.cpp =================================================================== --- clang/test/CXX/drs/dr1xx.cpp +++ clang/test/CXX/drs/dr1xx.cpp @@ -3,6 +3,7 @@ // RUN: %clang_cc1 -std=c++14 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors // RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors // RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors +// RUN: %clang_cc1 -std=c++2b -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors namespace dr100 { // dr100: yes template<const char (*)[4]> struct A {}; // expected-note 0-1{{declared here}} @@ -999,6 +1000,36 @@ // dr190 FIXME: add codegen test for tbaa +int dr191_j; +namespace dr191 { // dr191: yes + namespace example1 { + struct outer { + static int i; + struct inner { + void f() { + struct local { + void g() { + i = 5; + } + }; + } + }; + }; + } + + namespace example2 { + struct S { + void f() { + struct local2 { + void g() { + dr191_j = 5; + } + }; + } + }; + } +} + // dr193 FIXME: add codegen test namespace dr194 { // dr194: yes Index: clang/test/CXX/drs/dr12xx.cpp =================================================================== --- clang/test/CXX/drs/dr12xx.cpp +++ clang/test/CXX/drs/dr12xx.cpp @@ -1,7 +1,11 @@ // RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors // RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors // RUN: %clang_cc1 -std=c++14 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -// RUN: %clang_cc1 -std=c++1z %s -verify -fexceptions -fcxx-exceptions -pedantic-errors +// RUN: %clang_cc1 -std=c++17 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors +// RUN: %clang_cc1 -std=c++20 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors +// RUN: %clang_cc1 -std=c++2b %s -verify -fexceptions -fcxx-exceptions -pedantic-errors + +// dr1200: na namespace dr1213 { // dr1213: 7 #if __cplusplus >= 201103L
Index: clang/www/cxx_dr_status.html =================================================================== --- clang/www/cxx_dr_status.html +++ clang/www/cxx_dr_status.html @@ -1183,7 +1183,7 @@ <td><a href="https://wg21.link/cwg191">191</a></td> <td>CD6</td> <td>Name lookup does not handle complex nesting</td> - <td class="none" align="center">Unknown</td> + <td class="full" align="center">Yes</td> </tr> <tr id="192"> <td><a href="https://wg21.link/cwg192">192</a></td> @@ -7007,7 +7007,7 @@ <td><a href="https://wg21.link/cwg1200">1200</a></td> <td>CD6</td> <td>Lookup rules for template parameters</td> - <td class="none" align="center">Unknown</td> + <td class="na" align="center">N/A</td> </tr> <tr id="1201"> <td><a href="https://wg21.link/cwg1201">1201</a></td> Index: clang/test/CXX/drs/dr1xx.cpp =================================================================== --- clang/test/CXX/drs/dr1xx.cpp +++ clang/test/CXX/drs/dr1xx.cpp @@ -3,6 +3,7 @@ // RUN: %clang_cc1 -std=c++14 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors // RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors // RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors +// RUN: %clang_cc1 -std=c++2b -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors namespace dr100 { // dr100: yes template<const char (*)[4]> struct A {}; // expected-note 0-1{{declared here}} @@ -999,6 +1000,36 @@ // dr190 FIXME: add codegen test for tbaa +int dr191_j; +namespace dr191 { // dr191: yes + namespace example1 { + struct outer { + static int i; + struct inner { + void f() { + struct local { + void g() { + i = 5; + } + }; + } + }; + }; + } + + namespace example2 { + struct S { + void f() { + struct local2 { + void g() { + dr191_j = 5; + } + }; + } + }; + } +} + // dr193 FIXME: add codegen test namespace dr194 { // dr194: yes Index: clang/test/CXX/drs/dr12xx.cpp =================================================================== --- clang/test/CXX/drs/dr12xx.cpp +++ clang/test/CXX/drs/dr12xx.cpp @@ -1,7 +1,11 @@ // RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors // RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors // RUN: %clang_cc1 -std=c++14 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -// RUN: %clang_cc1 -std=c++1z %s -verify -fexceptions -fcxx-exceptions -pedantic-errors +// RUN: %clang_cc1 -std=c++17 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors +// RUN: %clang_cc1 -std=c++20 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors +// RUN: %clang_cc1 -std=c++2b %s -verify -fexceptions -fcxx-exceptions -pedantic-errors + +// dr1200: na namespace dr1213 { // dr1213: 7 #if __cplusplus >= 201103L
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits