We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a41d97 commit 030d68eCopy full SHA for 030d68e
clang/lib/Parse/ParseDecl.cpp
@@ -3997,7 +3997,7 @@ void Parser::ParseDeclarationSpecifiers(
3997
break;
3998
case tok::kw_thread_local:
3999
if (getLangOpts().C2x)
4000
- Diag(Tok, diag::warn_c23_compat_keyword) << Tok.getName();
+ Diag(Tok, diag::warn_c2x_compat_keyword) << Tok.getName();
4001
// We map thread_local to _Thread_local in C23 mode so it retains the C
4002
// semantics rather than getting the C++ semantics.
4003
// FIXME: diagnostics will show _Thread_local when the user wrote
0 commit comments