================ @@ -11662,7 +11662,8 @@ class Sema final : public SemaBase { DeclResult CheckVarTemplateId(VarTemplateDecl *Template, SourceLocation TemplateLoc, SourceLocation TemplateNameLoc, - const TemplateArgumentListInfo &TemplateArgs); + const TemplateArgumentListInfo &TemplateArgs, + bool SetWrittenArgs); ---------------- mizvekov wrote:
Rather than adding a new bool parameter, I think we better move the responsibility of setting the written args entirely out of `CheckVarTemplateId`, which would make this more similar to `CheckTypeTemplateId`. https://github.com/llvm/llvm-project/pull/156329 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits