aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/ConfigParseTest.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2023-10-25 07:51:28 -0400
committerGitHub <noreply@github.com>2023-10-25 07:51:28 -0400
commit66f4a1399d7de3d38312a5b251d4f8acd75237ca (patch)
tree6ca8e1317e3a82dbcdfe308e7d3dd1070ec902a3 /clang/unittests/Format/ConfigParseTest.cpp
parent6d66440c50e3047b5ce152830d4ccae381c7c2bf (diff)
downloadllvm-66f4a1399d7de3d38312a5b251d4f8acd75237ca.zip
llvm-66f4a1399d7de3d38312a5b251d4f8acd75237ca.tar.gz
llvm-66f4a1399d7de3d38312a5b251d4f8acd75237ca.tar.bz2
[C23] Use thread_local semantics (#70107)
When implementing thread_local as a keyword in C23, we accidentally started using C++11 thread_local semantics when using that keyword instead of using C11 _Thread_local semantics. This oversight is fixed by pretending the user wrote _Thread_local instead. This doesn't have the best behavior in terms of diagnostics, but it does correct the semantic behavior. Fixes https://github.com/llvm/llvm-project/issues/70068 Fixes https://github.com/llvm/llvm-project/issues/69167
Diffstat (limited to 'clang/unittests/Format/ConfigParseTest.cpp')
0 files changed, 0 insertions, 0 deletions