================ @@ -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); ---------------- bolshakov-a wrote:
Setting the args to the `CheckVarTemplateId` result may change some previous declaration stored in the `ASTContext` when `CheckVarTemplateId` returns it and not a new one. I cannot find `CheckTypeTemplateId` in the project (typo?) 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