[clang] [clang] Remove written template args from implicit var tpl spec (PR #156329)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 2 09:48:01 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);
----------------
mizvekov wrote:
Right, that's another inconsistency with how `CheckTypeTemplateId` operates and is used.
This may need some though, I don't want to propose a large refactoring to support such a simple change, but the bool parameter does not feel right.
https://github.com/llvm/llvm-project/pull/156329
More information about the cfe-commits
mailing list