Searched refs:PatternDecl (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 3291 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/llvm-project/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 4232 const FunctionDecl *PatternDecl, in addInstantiatedParametersToScope() argument 4236 for (unsigned I = 0, N = PatternDecl->getNumParams(); I != N; ++I) { in addInstantiatedParametersToScope() 4237 const ParmVarDecl *PatternParam = PatternDecl->getParamDecl(I); in addInstantiatedParametersToScope() 4249 if (!PatternDecl->getType()->isDependentType()) { in addInstantiatedParametersToScope() 4273 if (!PatternDecl->getType()->isDependentType()) { in addInstantiatedParametersToScope() 4678 const FunctionDecl *PatternDecl = Function->getTemplateInstantiationPattern(); in InstantiateFunctionDefinition() local 4679 assert(PatternDecl && "instantiating a non-template"); in InstantiateFunctionDefinition() 4681 const FunctionDecl *PatternDef = PatternDecl->getDefinition(); in InstantiateFunctionDefinition() 4685 PatternDecl = PatternDef; in InstantiateFunctionDefinition() 4694 PatternDecl, PatternDef, TSK, in InstantiateFunctionDefinition() [all …]
|
/external/clang/lib/AST/ |
D | Decl.cpp | 3100 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/llvm-project/clang/lib/AST/ |
D | Decl.cpp | 3674 const FunctionDecl *PatternDecl = getTemplateInstantiationPattern(); in isImplicitlyInstantiable() local 3676 if (PatternDecl) in isImplicitlyInstantiable() 3677 HasPattern = PatternDecl->hasBody(PatternDecl); in isImplicitlyInstantiable() 3683 if (!HasPattern || !PatternDecl) in isImplicitlyInstantiable() 3686 return PatternDecl->isInlined(); in isImplicitlyInstantiable()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 7274 VarTemplateSpecializationDecl *VarSpec, VarDecl *PatternDecl,
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 9262 VarTemplateSpecializationDecl *VarSpec, VarDecl *PatternDecl,
|