Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp5102 const FunctionDecl *PatternDecl, in addInstantiatedLocalVarsToScope() argument
5106 for (auto *decl : PatternDecl->decls()) { in addInstantiatedLocalVarsToScope()
5130 FunctionDecl *Function, const FunctionDecl *PatternDecl, in addInstantiatedParametersToScope() argument
5134 for (unsigned I = 0, N = PatternDecl->getNumParams(); I != N; ++I) { in addInstantiatedParametersToScope()
5135 const ParmVarDecl *PatternParam = PatternDecl->getParamDecl(I); in addInstantiatedParametersToScope()
5147 if (!PatternDecl->getType()->isDependentType()) { in addInstantiatedParametersToScope()
5171 if (!PatternDecl->getType()->isDependentType()) { in addInstantiatedParametersToScope()
5478 const FunctionDecl *PatternDecl = Function->getTemplateInstantiationPattern(); in InstantiateFunctionDefinition() local
5479 assert(PatternDecl && "instantiating a non-template"); in InstantiateFunctionDefinition()
5481 const FunctionDecl *PatternDef = PatternDecl->getDefinition(); in InstantiateFunctionDefinition()
[all …]
H A DSemaLambda.cpp2438 FunctionDecl *Function, const FunctionDecl *PatternDecl, in addInstantiatedCapturesToScope() argument
2442 const auto *LambdaPattern = cast<CXXMethodDecl>(PatternDecl)->getParent(); in addInstantiatedCapturesToScope()
2458 if (!LSI || getPatternFunctionDecl(LSI->CallOperator) != PatternDecl) in addInstantiatedCapturesToScope()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp4175 const FunctionDecl *PatternDecl = getTemplateInstantiationPattern(); in isImplicitlyInstantiable() local
4177 if (PatternDecl) in isImplicitlyInstantiable()
4178 HasPattern = PatternDecl->hasBody(PatternDecl); in isImplicitlyInstantiable()
4184 if (!HasPattern || !PatternDecl) in isImplicitlyInstantiable()
4187 return PatternDecl->isInlined(); in isImplicitlyInstantiable()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h13999 VarTemplateSpecializationDecl *VarSpec, VarDecl *PatternDecl,
14109 const FunctionDecl *PatternDecl,
14115 FunctionDecl *Function, const FunctionDecl *PatternDecl,
14122 FunctionDecl *Function, const FunctionDecl *PatternDecl,