Lines Matching refs:NewTemplate
3476 VarTemplateDecl *NewTemplate = New->getDescribedVarTemplate(); in MergeVarDecl() local
3482 if (NewTemplate) { in MergeVarDecl()
3488 if (checkUsingShadowRedecl<VarTemplateDecl>(*this, Shadow, NewTemplate)) in MergeVarDecl()
3508 if (NewTemplate && in MergeVarDecl()
3509 !TemplateParameterListsAreEqual(NewTemplate->getTemplateParameters(), in MergeVarDecl()
3699 if (NewTemplate) in MergeVarDecl()
3700 NewTemplate->setPreviousDecl(OldTemplate); in MergeVarDecl()
3704 if (NewTemplate) in MergeVarDecl()
3705 NewTemplate->setAccess(New->getAccess()); in MergeVarDecl()
5973 VarTemplateDecl *NewTemplate = nullptr; in ActOnVariableDeclarator() local
6104 NewTemplate = in ActOnVariableDeclarator()
6107 NewVD->setDescribedVarTemplate(NewTemplate); in ActOnVariableDeclarator()
6117 if (NewTemplate) in ActOnVariableDeclarator()
6118 NewTemplate->setInvalidDecl(); in ActOnVariableDeclarator()
6197 if (NewTemplate) in ActOnVariableDeclarator()
6198 NewTemplate->setLexicalDeclContext(CurContext); in ActOnVariableDeclarator()
6271 if (NewTemplate) in ActOnVariableDeclarator()
6272 NewTemplate->setModulePrivate(); in ActOnVariableDeclarator()
6433 if (NewTemplate) { in ActOnVariableDeclarator()
6501 if (NewTemplate) { in ActOnVariableDeclarator()
6503 NewTemplate->setInvalidDecl(); in ActOnVariableDeclarator()
6504 ActOnDocumentableDecl(NewTemplate); in ActOnVariableDeclarator()
6505 return NewTemplate; in ActOnVariableDeclarator()