Author: Victor Chernyakin Date: 2026-05-16T08:11:59Z New Revision: 68a1a83c9dc2c0e3e68080b2f2f4befc32e40f48
URL: https://github.com/llvm/llvm-project/commit/68a1a83c9dc2c0e3e68080b2f2f4befc32e40f48 DIFF: https://github.com/llvm/llvm-project/commit/68a1a83c9dc2c0e3e68080b2f2f4befc32e40f48.diff LOG: Revert "[clang][NFC] Mark CWG717 as implemented and add a test (#197732)" (#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. 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> _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
