[Clang] Support label at end of compound statement
authorEvgeny Shulgin <izaronplatz@gmail.com>
Wed, 14 Sep 2022 18:08:34 +0000 (18:08 +0000)
committerEvgeny Shulgin <izaronplatz@gmail.com>
Sat, 17 Sep 2022 15:34:56 +0000 (15:34 +0000)
commit510383626fe146e49ae5fa036638e543ce71e5d9
tree3e2bf5ccd67e80ba03705fe94c936283a603076a
parent133b6d7db90d9b52b01e8e09e1aa8fb8d2da0f9d
[Clang] Support label at end of compound statement

Implements paper P2324R2
https://wg21.link/p2324r2
https://github.com/cplusplus/papers/issues/1006

Reviewed By: cor3ntin

Differential Revision: https://reviews.llvm.org/D133887
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/lib/Parse/ParseStmt.cpp
clang/test/AST/ast-dump-stmt.c
clang/test/Parser/c2x-label.c [new file with mode: 0644]
clang/test/Parser/cxx2b-label.cpp [new file with mode: 0644]
clang/test/Parser/switch-recovery.cpp
clang/www/c_status.html
clang/www/cxx_status.html