[clang] [clang] Allow extra semicolons inside classes also in C++ pedantic mode. (PR #172209)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 23 17:11:45 PST 2025
================
@@ -51,7 +55,11 @@ def ext_extra_semi : Extension<
"after member function definition}0">,
InGroup<ExtraSemi>;
def ext_extra_semi_cxx11 : Extension<
- "extra ';' outside of a function is a C++11 extension">,
+ "%select{|||multiple }0extra ';' %select{"
+ "outside of a function|"
+ "inside a %1|"
+ "inside instance variable list|"
----------------
keinflue wrote:
see above
https://github.com/llvm/llvm-project/pull/172209
More information about the cfe-commits
mailing list