Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp2432 const FunctionDecl *PatternDecl, in addInstantiatedParametersToScope() argument
2436 for (unsigned I = 0, N = PatternDecl->getNumParams(); I != N; ++I) { in addInstantiatedParametersToScope()
2437 const ParmVarDecl *PatternParam = PatternDecl->getParamDecl(I); in addInstantiatedParametersToScope()
2757 const FunctionDecl *PatternDecl = Function->getTemplateInstantiationPattern(); in InstantiateFunctionDefinition() local
2758 assert(PatternDecl && "instantiating a non-template"); in InstantiateFunctionDefinition()
2760 Stmt *Pattern = PatternDecl->getBody(PatternDecl); in InstantiateFunctionDefinition()
2761 assert(PatternDecl && "template definition is not a template"); in InstantiateFunctionDefinition()
2764 PatternDecl->isDefined(PatternDecl); in InstantiateFunctionDefinition()
2766 assert(PatternDecl && "template definition is not a template"); in InstantiateFunctionDefinition()
2769 if (PatternDecl->isLateTemplateParsed() && in InstantiateFunctionDefinition()
[all …]
/external/clang/lib/AST/
DDecl.cpp2457 const FunctionDecl *PatternDecl = getTemplateInstantiationPattern(); in isImplicitlyInstantiable() local
2459 if (PatternDecl) in isImplicitlyInstantiable()
2460 HasPattern = PatternDecl->hasBody(PatternDecl); in isImplicitlyInstantiable()
2466 if (!HasPattern || !PatternDecl) in isImplicitlyInstantiable()
2469 return PatternDecl->isInlined(); in isImplicitlyInstantiable()