[clang] [Clang] Properly parse enumeration declarations with fixed underlying type in generic associations (PR #210353)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 27 07:58:12 PDT 2026
================
@@ -1518,7 +1526,23 @@ Parser::isCXXDeclarationSpecifier(ImplicitTypenameContext AllowImplicitTypename,
// enum E : int { 4 }; // bit-field
// };
if (getLangOpts().CPlusPlus11 && NextToken().is(tok::l_brace))
+ {
----------------
AaronBallman wrote:
Formatting is off with the braces (llvm.org/docs/CodingStandards.html)
https://github.com/llvm/llvm-project/pull/210353
More information about the cfe-commits
mailing list