[all-commits] [llvm/llvm-project] 8bd06d: [C23] Complete support for WG14 N2508 (#71398)
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Mon Nov 20 07:52:25 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8bd06d5b65845e5e01dd899a2deb773580460b89
https://github.com/llvm/llvm-project/commit/8bd06d5b65845e5e01dd899a2deb773580460b89
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Parse/ParseStmt.cpp
M clang/test/C/C2x/n2508.c
M clang/test/OpenMP/barrier_ast_print.cpp
M clang/test/OpenMP/barrier_messages.cpp
M clang/test/OpenMP/cancel_messages.cpp
M clang/test/OpenMP/cancellation_point_messages.cpp
M clang/test/OpenMP/depobj_messages.cpp
M clang/test/OpenMP/error_message.cpp
M clang/test/OpenMP/flush_messages.cpp
M clang/test/OpenMP/scan_messages.cpp
M clang/test/OpenMP/taskwait_messages.cpp
M clang/test/OpenMP/taskyield_messages.cpp
M clang/www/c_status.html
Log Message:
-----------
[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.)
More information about the All-commits
mailing list