Home
last modified time | relevance | path

Searched refs:PrevTemplate (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplate.cpp7693 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()
[all …]
DSemaDecl.cpp8091 FunctionTemplateDecl *PrevTemplate = in ActOnFunctionDeclarator() local
8094 PrevTemplate ? PrevTemplate->getTemplateParameters() in ActOnFunctionDeclarator()