Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplate.cpp7818 VarTemplateDecl *PrevTemplate = Previous.getAsSingle<VarTemplateDecl>(); in ActOnExplicitInstantiation() local
7820 if (!PrevTemplate) { in ActOnExplicitInstantiation()
7860 << PrevTemplate; in ActOnExplicitInstantiation()
7861 Diag(PrevTemplate->getLocation(), in ActOnExplicitInstantiation()
7868 if (PrevTemplate->isConcept()) { in ActOnExplicitInstantiation()
7871 Diag(PrevTemplate->getLocation(), diag::note_previous_declaration); in ActOnExplicitInstantiation()
7879 DeclResult Res = CheckVarTemplateId(PrevTemplate, TemplateLoc, in ActOnExplicitInstantiation()
7899 if (!ScopeSpecifierHasTemplateId(D.getCXXScopeSpec()) && !PrevTemplate) in ActOnExplicitInstantiation()
7919 if (PrevTemplate) { in ActOnExplicitInstantiation()
7929 if (PrevTemplate && Prev && !Context.hasSameType(Prev->getType(), R)) { in ActOnExplicitInstantiation()
[all …]
DSemaDecl.cpp8392 FunctionTemplateDecl *PrevTemplate = in ActOnFunctionDeclarator() local
8395 PrevTemplate ? PrevTemplate->getTemplateParameters() in ActOnFunctionDeclarator()