[clang] [clang] Remove written template args from implicit var tpl spec (PR #156329)
Andrey Ali Khan Bolshakov via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 2 09:39:06 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list