================ @@ -1581,26 +1581,33 @@ class TemplateTemplateParmDecl final DefaultArgStorage<TemplateTemplateParmDecl, TemplateArgumentLoc *>; DefArgStorage DefaultArgument; + /// Whether this template template parameter was declaration with + /// the 'typename' keyword. + /// + /// If false, it was declared with the 'class' keyword. + bool Typename : 1; ---------------- erichkeane wrote:
I like the bitfield nature here, but would prefer we do an 'unsigned' for each, and just 'treat' them as a bool later (it is a bit of a convention here). Additionally, `Typename` should have an enum value that it gets compared to, rather than true meaning typename, false meaning class. https://github.com/llvm/llvm-project/pull/88139 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits