Lines Matching refs:PrevTemplate
10023 VarTemplateDecl *PrevTemplate = Previous.getAsSingle<VarTemplateDecl>();
10025 if (!PrevTemplate) {
10065 << PrevTemplate;
10066 Diag(PrevTemplate->getLocation(),
10075 DeclResult Res = CheckVarTemplateId(PrevTemplate, TemplateLoc,
10103 if (!ScopeSpecifierHasTemplateId(D.getCXXScopeSpec()) && !PrevTemplate)
10128 if (PrevTemplate && Prev && !Context.hasSameType(Prev->getType(), R)) {
10131 << 0 << PrevTemplate << R << Prev->getType();
10132 Diag(PrevTemplate->getLocation(), diag::note_template_declared_here)
10133 << 2 << PrevTemplate->getDeclName();