From: Erich Keane Date: Tue, 3 Jan 2023 14:26:29 +0000 (-0800) Subject: Revert "[NFC] Update CXXSTatus to show we implement CWG 2061" X-Git-Tag: upstream/17.0.6~22307 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5ae5afa521f75e87f9018d8361aa5a1cadc7a86;p=platform%2Fupstream%2Fllvm.git Revert "[NFC] Update CXXSTatus to show we implement CWG 2061" This reverts commit 80a78033cf5f21c082aa30bfc692df76d296573c. Fails thanks to an inline-ns warning --- diff --git a/clang/test/CXX/drs/dr20xx.cpp b/clang/test/CXX/drs/dr20xx.cpp index 0e39015..aef14dd 100644 --- a/clang/test/CXX/drs/dr20xx.cpp +++ b/clang/test/CXX/drs/dr20xx.cpp @@ -310,29 +310,3 @@ namespace dr2094 { // dr2094: 5 static_assert(__is_trivially_assignable(A, const A&), ""); static_assert(__is_trivially_assignable(B, const B&), ""); } - -namespace dr2061 { // dr2061: yes - namespace A { - inline namespace b { - namespace C { - // 'f' is the example from the DR. 'S' is an example where if we didn't - // properly handle the two being the same, we would get an incomplete - // type error during attempted instantiation. - template void f(); - template struct S; - } - } - } - - namespace A { - namespace C { - template<> void f() { } - template<> struct S { }; - } - } - - void use() { - A::C::f(); - A::C::S s; - } -} diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html index fe609ea..11c90cc 100755 --- a/clang/www/cxx_dr_status.html +++ b/clang/www/cxx_dr_status.html @@ -12173,7 +12173,7 @@ and POD class 2061 CD4 Inline namespace after simplifications - Yes + Unknown 2062