Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp3291 const FunctionDecl *PatternDecl, in addInstantiatedParametersToScope() argument
3295 for (unsigned I = 0, N = PatternDecl->getNumParams(); I != N; ++I) { in addInstantiatedParametersToScope()
3296 const ParmVarDecl *PatternParam = PatternDecl->getParamDecl(I); in addInstantiatedParametersToScope()
3308 if (!PatternDecl->getType()->isDependentType()) { in addInstantiatedParametersToScope()
3333 if (!PatternDecl->getType()->isDependentType()) { in addInstantiatedParametersToScope()
3519 const FunctionDecl *PatternDecl = Function->getTemplateInstantiationPattern(); in InstantiateFunctionDefinition() local
3520 assert(PatternDecl && "instantiating a non-template"); in InstantiateFunctionDefinition()
3522 Stmt *Pattern = PatternDecl->getBody(PatternDecl); in InstantiateFunctionDefinition()
3523 assert(PatternDecl && "template definition is not a template"); in InstantiateFunctionDefinition()
3526 PatternDecl->isDefined(PatternDecl); in InstantiateFunctionDefinition()
[all …]
/external/clang/lib/AST/
DDecl.cpp3100 const FunctionDecl *PatternDecl = getTemplateInstantiationPattern(); in isImplicitlyInstantiable() local
3102 if (PatternDecl) in isImplicitlyInstantiable()
3103 HasPattern = PatternDecl->hasBody(PatternDecl); in isImplicitlyInstantiable()
3109 if (!HasPattern || !PatternDecl) in isImplicitlyInstantiable()
3112 return PatternDecl->isInlined(); in isImplicitlyInstantiable()
/external/clang/include/clang/Sema/
DSema.h7274 VarTemplateSpecializationDecl *VarSpec, VarDecl *PatternDecl,