Izaron added a comment.
> It should definitely be without warning in C23 mode and give an extension
> warning in earlier modes.
@aaron.ballman we have this extension warning for pre-C++23:
def ext_label_end_of_compound_statement : ExtWarn<
"label at end of compound statement is a C++2b extension">,
InGroup<CXX2b>;
Should I add a new warning for pre-C23? We could have two warnings for each
language:
ext_cxx_label_end_of_compound_statement
ext_c_label_end_of_compound_statement
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133887/new/
https://reviews.llvm.org/D133887
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits