Searched refs:PrevTemplate (Results 1 – 2 of 2) sorted by relevance
7818 VarTemplateDecl *PrevTemplate = Previous.getAsSingle<VarTemplateDecl>(); in ActOnExplicitInstantiation() local7820 if (!PrevTemplate) { in ActOnExplicitInstantiation()7860 << PrevTemplate; in ActOnExplicitInstantiation()7861 Diag(PrevTemplate->getLocation(), in ActOnExplicitInstantiation()7868 if (PrevTemplate->isConcept()) { in ActOnExplicitInstantiation()7871 Diag(PrevTemplate->getLocation(), diag::note_previous_declaration); in ActOnExplicitInstantiation()7879 DeclResult Res = CheckVarTemplateId(PrevTemplate, TemplateLoc, in ActOnExplicitInstantiation()7899 if (!ScopeSpecifierHasTemplateId(D.getCXXScopeSpec()) && !PrevTemplate) in ActOnExplicitInstantiation()7919 if (PrevTemplate) { in ActOnExplicitInstantiation()7929 if (PrevTemplate && Prev && !Context.hasSameType(Prev->getType(), R)) { in ActOnExplicitInstantiation()[all …]
8392 FunctionTemplateDecl *PrevTemplate = in ActOnFunctionDeclarator() local8395 PrevTemplate ? PrevTemplate->getTemplateParameters() in ActOnFunctionDeclarator()