Lines Matching defs:PrevTemplate
10211 VarTemplateDecl *PrevTemplate = Previous.getAsSingle<VarTemplateDecl>();
10213 if (!PrevTemplate) {
10253 << PrevTemplate;
10254 Diag(PrevTemplate->getLocation(),
10263 DeclResult Res = CheckVarTemplateId(PrevTemplate, TemplateLoc,
10291 if (!ScopeSpecifierHasTemplateId(D.getCXXScopeSpec()) && !PrevTemplate)
10316 if (PrevTemplate)
10324 if (PrevTemplate && !Context.hasSameType(Prev->getType(), R)) {
10327 << 0 << PrevTemplate << R << Prev->getType();
10328 Diag(PrevTemplate->getLocation(), diag::note_template_declared_here)
10329 << 2 << PrevTemplate->getDeclName();