diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2023-11-20 10:52:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-20 10:52:11 -0500 |
commit | 8bd06d5b65845e5e01dd899a2deb773580460b89 (patch) | |
tree | 6db45ced0f70be52f81ee5f26ee32c7cb7075495 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 37fa32785e23198fc9585296e990b18abfd2ba90 (diff) | |
download | llvm-8bd06d5b65845e5e01dd899a2deb773580460b89.zip llvm-8bd06d5b65845e5e01dd899a2deb773580460b89.tar.gz llvm-8bd06d5b65845e5e01dd899a2deb773580460b89.tar.bz2 |
[C23] Complete support for WG14 N2508 (#71398)
In Clang 16, we implemented the ability to add a label at the end of a
compound statement. These changes complete the implementation by
allowing a label to be followed by a declaration in C.
Note, this seems to have fixed an issue with some OpenMP stand-alone
directives not being properly diagnosed as per:
https://www.openmp.org/spec-html/5.1/openmpsu19.html#x34-330002.1.3
(The same requirement exists in OpenMP 5.2 as well.)
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions