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.
This commit is contained in:
Victor Chernyakin 2026-05-16 01:11:59 -07:00 committed by GitHub
parent 199e750a90
commit 68a1a83c9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 37 deletions

View file

@ -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

View file

@ -5069,7 +5069,7 @@
<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>