================ @@ -1616,7 +1617,7 @@ def C23 : DiagGroup<"c23-extensions", [VariadicMacroArgumentsOmitted]>; def : DiagGroup<"c2x-extensions", [C23]>; // A warning group for warnings about using C2y features as extensions. -def C2y : DiagGroup<"c2y-extensions", [StaticInInline]>; +def C2y : DiagGroup<"c2y-extensions", [StaticInInline, CounterExt]>; ---------------- AaronBallman wrote:
I have a hazy recollection that someone worked on something like that, but I see no options to enable it. But yes, that would be helpful to have (we have diagtool but that doesn't list `-pedantic` as an option, only `-Wpedantic` which is slightly different, and that probably could be fixed but is still too hidden to be helpful to users in general.) https://github.com/llvm/llvm-project/pull/218669 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
