llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Victor Chernyakin (localspook) <details> <summary>Changes</summary> 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. --- Full diff: https://github.com/llvm/llvm-project/pull/198074.diff 2 Files Affected: - (modified) clang/test/CXX/drs/cwg7xx.cpp (-36) - (modified) clang/www/cxx_dr_status.html (+1-1) ``````````diff 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> `````````` </details> https://github.com/llvm/llvm-project/pull/198074 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
