https://github.com/localspook created https://github.com/llvm/llvm-project/pull/198074
As reported in #197930, these new tests fail on the `arm64-apple-darwin-unknown` target. There's not a consensus yet on how to fix the breakage, so revert it until we can decide. >From d6fe5817bfae2c1e6aa766e15cd1a288858d85ca Mon Sep 17 00:00:00 2001 From: Victor Chernyakin <[email protected]> Date: Sat, 16 May 2026 00:35:38 -0700 Subject: [PATCH] Revert "[clang][NFC] Mark CWG717 as implemented and add a test (#197732)" This reverts commit f4528cc84fd75e6fd540e524c6349a5de07a31e0. --- clang/test/CXX/drs/cwg7xx.cpp | 36 ----------------------------------- clang/www/cxx_dr_status.html | 2 +- 2 files changed, 1 insertion(+), 37 deletions(-) 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> _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
