================ @@ -5019,7 +5019,7 @@ void Parser::ParseEnumSpecifier(SourceLocation StartLoc, DeclSpec &DS, else if (getLangOpts().MicrosoftExt) Diag(ColonLoc, diag::ext_ms_c_enum_fixed_underlying_type) << BaseRange; - else + else if (!getLangOpts().C23) ---------------- erichkeane wrote:
Do we want C23 mode handled higher up? At least above `MicrosoftExt`? What if the person is compiling in C23 mode with Microsoft Extensions, they'd get the above warning incorrectly. https://github.com/llvm/llvm-project/pull/68060 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits