Searched refs:PrevTemplate (Results 1 – 2 of 2) sorted by relevance
7440 VarTemplateDecl *PrevTemplate = Previous.getAsSingle<VarTemplateDecl>(); in ActOnExplicitInstantiation() local7442 if (!PrevTemplate) { in ActOnExplicitInstantiation()7482 << PrevTemplate; in ActOnExplicitInstantiation()7483 Diag(PrevTemplate->getLocation(), in ActOnExplicitInstantiation()7492 DeclResult Res = CheckVarTemplateId(PrevTemplate, TemplateLoc, in ActOnExplicitInstantiation()7512 if (!ScopeSpecifierHasTemplateId(D.getCXXScopeSpec()) && !PrevTemplate) in ActOnExplicitInstantiation()7532 if (PrevTemplate) { in ActOnExplicitInstantiation()7542 if (PrevTemplate && Prev && !Context.hasSameType(Prev->getType(), R)) { in ActOnExplicitInstantiation()7545 << 0 << PrevTemplate << R << Prev->getType(); in ActOnExplicitInstantiation()7546 Diag(PrevTemplate->getLocation(), diag::note_template_declared_here) in ActOnExplicitInstantiation()[all …]
7415 FunctionTemplateDecl *PrevTemplate = in ActOnFunctionDeclarator() local7418 PrevTemplate ? PrevTemplate->getTemplateParameters() in ActOnFunctionDeclarator()