[llvm-branch-commits] [clang] d6fe581 - Revert "[clang][NFC] Mark CWG717 as implemented and add a test (#197732)"

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat May 16 00:35:42 PDT 2026


Author: Victor Chernyakin
Date: 2026-05-16T00:35:38-07:00
New Revision: d6fe5817bfae2c1e6aa766e15cd1a288858d85ca

URL: https://github.com/llvm/llvm-project/commit/d6fe5817bfae2c1e6aa766e15cd1a288858d85ca
DIFF: https://github.com/llvm/llvm-project/commit/d6fe5817bfae2c1e6aa766e15cd1a288858d85ca.diff

LOG: Revert "[clang][NFC] Mark CWG717 as implemented and add a test (#197732)"

This reverts commit f4528cc84fd75e6fd540e524c6349a5de07a31e0.

Added: 
    

Modified: 
    clang/test/CXX/drs/cwg7xx.cpp
    clang/www/cxx_dr_status.html

Removed: 
    


################################################################################
diff  --git a/clang/test/CXX/drs/cwg7xx.cpp b/clang/test/CXX/drs/cwg7xx.cpp
index 83ea88157ef27..03a1cf1e73469 100644
--- a/clang/test/CXX/drs/cwg7xx.cpp
+++ b/clang/test/CXX/drs/cwg7xx.cpp
@@ -99,42 +99,6 @@ static_assert(!is_volatile<void()volatile&>::value, "");
 #endif
 } // namespace cwg713
 
-namespace cwg717 { // cwg717: 3.3
-#if __cplusplus >= 201103L
-void f() {
-  thread_local extern int i;
-  thread_local extern int& j;
-
-  [] {
-    thread_local extern int k;
-    thread_local extern int& l;
-  }();
-}
-
-template <typename T>
-void g() {
-  thread_local extern T i;
-  thread_local extern T& j;
-
-  [] {
-    thread_local extern T k;
-    thread_local extern T& l;
-  }();
-}
-
-struct S {
-  thread_local static int i;
-  thread_local static int& j;
-};
-
-template <typename T>
-struct C {
-  thread_local static T i;
-  thread_local static T& j;
-};
-#endif
-} // namespace cwg717
-
 // cwg722 is in cwg722.cpp
 
 namespace cwg727 { // cwg727: partial

diff  --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html
index 79b0ccdd2cf3c..7215d276432b8 100755
--- a/clang/www/cxx_dr_status.html
+++ b/clang/www/cxx_dr_status.html
@@ -5069,7 +5069,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td>[<a href="https://wg21.link/dcl.stc">dcl.stc</a>]</td>
     <td>CD2</td>
     <td>Unintentional restrictions on the use of <TT>thread_local</TT></td>
-    <td class="full" align="center">Clang 3.3</td>
+    <td class="unknown" align="center">Unknown</td>
   </tr>
   <tr id="718">
     <td><a href="https://cplusplus.github.io/CWG/issues/718.html">718</a></td>


        


More information about the llvm-branch-commits mailing list