[clang] [Clang][AST] Track whether template template parameters used the 'typename' keyword (PR #88139)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 9 08:50:32 PDT 2024


================
@@ -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;
----------------
cor3ntin wrote:

Yup, i believe using bool is still causing issues for msvc

https://github.com/llvm/llvm-project/pull/88139


More information about the cfe-commits mailing list