Searched refs:PrevTemplate (Results 1 – 2 of 2) sorted by relevance
7693 VarTemplateDecl *PrevTemplate = Previous.getAsSingle<VarTemplateDecl>(); in ActOnExplicitInstantiation() local7695 if (!PrevTemplate) { in ActOnExplicitInstantiation()7735 << PrevTemplate; in ActOnExplicitInstantiation()7736 Diag(PrevTemplate->getLocation(), in ActOnExplicitInstantiation()7745 DeclResult Res = CheckVarTemplateId(PrevTemplate, TemplateLoc, in ActOnExplicitInstantiation()7765 if (!ScopeSpecifierHasTemplateId(D.getCXXScopeSpec()) && !PrevTemplate) in ActOnExplicitInstantiation()7785 if (PrevTemplate) { in ActOnExplicitInstantiation()7795 if (PrevTemplate && Prev && !Context.hasSameType(Prev->getType(), R)) { in ActOnExplicitInstantiation()7798 << 0 << PrevTemplate << R << Prev->getType(); in ActOnExplicitInstantiation()7799 Diag(PrevTemplate->getLocation(), diag::note_template_declared_here) in ActOnExplicitInstantiation()[all …]
8091 FunctionTemplateDecl *PrevTemplate = in ActOnFunctionDeclarator() local8094 PrevTemplate ? PrevTemplate->getTemplateParameters() in ActOnFunctionDeclarator()