Lines Matching refs:PrevTemplate
7693 VarTemplateDecl *PrevTemplate = Previous.getAsSingle<VarTemplateDecl>(); in ActOnExplicitInstantiation() local
7695 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()
7800 << 2 << PrevTemplate->getDeclName(); in ActOnExplicitInstantiation()