Home
last modified time | relevance | path

Searched refs:FunctionTemplate (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp3432 FunctionTemplateDecl *FunctionTemplate, in SubstituteExplicitTemplateArguments() argument
3437 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in SubstituteExplicitTemplateArguments()
3439 = FunctionTemplate->getTemplateParameters(); in SubstituteExplicitTemplateArguments()
3469 *this, Info.getLocation(), FunctionTemplate, DeducedArgs, in SubstituteExplicitTemplateArguments()
3474 if (CheckTemplateArgumentList(FunctionTemplate, SourceLocation(), in SubstituteExplicitTemplateArguments()
3499 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments()
3530 MultiLevelTemplateArgumentList MLTAL(FunctionTemplate, in SubstituteExplicitTemplateArguments()
3745 FunctionTemplateDecl *FunctionTemplate, in getPackIndexForParam() argument
3749 for (auto *PD : FunctionTemplate->getTemplatedDecl()->parameters()) { in getPackIndexForParam()
3772 TemplateDeductionInfo &Info, FunctionTemplateDecl *FunctionTemplate, in instantiateExplicitSpecifierDeferred() argument
[all …]
H A DSemaTemplateInstantiateDecl.cpp2100 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); in VisitFunctionDecl() local
2101 if (FunctionTemplate && !TemplateParams) { in VisitFunctionDecl()
2106 = FunctionTemplate->findSpecialization(Innermost, InsertPos); in VisitFunctionDecl()
2114 if (FunctionTemplate) in VisitFunctionDecl()
2115 isFriend = (FunctionTemplate->getFriendObjectKind() != Decl::FOK_None); in VisitFunctionDecl()
2252 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, DC, in VisitFunctionDecl()
2256 Function->setDescribedFunctionTemplate(FunctionTemplate); in VisitFunctionDecl()
2258 FunctionTemplate->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
2261 FunctionTemplate->setInstantiatedFromMemberTemplate( in VisitFunctionDecl()
2264 } else if (FunctionTemplate && in VisitFunctionDecl()
[all …]
H A DCodeCompleteConsumer.cpp506 return FunctionTemplate->getTemplatedDecl(); in getFunction()
518 return FunctionTemplate->getTemplatedDecl() in getFunctionType()
H A DSemaOverload.cpp7644 FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, in AddTemplateOverloadCandidate() argument
7649 if (!CandidateSet.isNewCandidate(FunctionTemplate, PO)) in AddTemplateOverloadCandidate()
7655 if (!AllowExplicit && isNonDependentlyExplicit(FunctionTemplate)) { in AddTemplateOverloadCandidate()
7658 Candidate.Function = FunctionTemplate->getTemplatedDecl(); in AddTemplateOverloadCandidate()
7674 FunctionTemplate->getTemplateDepth()); in AddTemplateOverloadCandidate()
7678 FunctionTemplate, ExplicitTemplateArgs, Args, Specialization, Info, in AddTemplateOverloadCandidate()
7684 FunctionTemplate, ParamTypes, Args, CandidateSet, Conversions, in AddTemplateOverloadCandidate()
7691 Candidate.Function = FunctionTemplate->getTemplatedDecl(); in AddTemplateOverloadCandidate()
7724 FunctionTemplateDecl *FunctionTemplate, ArrayRef<QualType> ParamTypes, in CheckNonDependentConversions() argument
7734 auto *FD = FunctionTemplate->getTemplatedDecl(); in CheckNonDependentConversions()
[all …]
H A DSemaDecl.cpp1134 return NameClassification::FunctionTemplate(Template); in ClassifyName()
1294 return TemplateNameKindForDiagnostics::FunctionTemplate; in getTemplateNameKindForDiagnostics()
9701 FunctionTemplateDecl *FunctionTemplate = nullptr; in ActOnFunctionDeclarator() local
9822 FunctionTemplate = FunctionTemplateDecl::Create(Context, DC, in ActOnFunctionDeclarator()
9826 FunctionTemplate->setLexicalDeclContext(CurContext); in ActOnFunctionDeclarator()
9827 NewFD->setDescribedFunctionTemplate(FunctionTemplate); in ActOnFunctionDeclarator()
9912 if (FunctionTemplate) in ActOnFunctionDeclarator()
9913 FunctionTemplate->setInvalidDecl(); in ActOnFunctionDeclarator()
10022 if (FunctionTemplate) in ActOnFunctionDeclarator()
10023 FunctionTemplate->setModulePrivate(); in ActOnFunctionDeclarator()
[all …]
H A DSemaTemplateInstantiate.cpp642 FunctionTemplateDecl *FunctionTemplate, in InstantiatingTemplate() argument
647 InstantiationRange, FunctionTemplate, nullptr, in InstantiatingTemplate()
H A DSemaCodeComplete.cpp4129 case Decl::FunctionTemplate: in getCursorKindForDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h1060 FunctionTemplateDecl *FunctionTemplate; member
1086 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { in OverloadCandidate()
1118 return FunctionTemplate; in getFunctionTemplate()
H A DSema.h3270 static NameClassification FunctionTemplate(TemplateName Name) { in FunctionTemplate() function
3377 FunctionTemplate, enumerator
10231 FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl,
10243 FunctionTemplateDecl *FunctionTemplate, ArrayRef<QualType> ParamTypes,
10268 FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl,
12235 FunctionTemplateDecl *FunctionTemplate,
12263 FunctionTemplateDecl *FunctionTemplate,
12298 FunctionTemplateDecl *FunctionTemplate,
12334 FunctionTemplateDecl *FunctionTemplate,
12343 FunctionTemplateDecl *FunctionTemplate, QualType ObjectType,
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DODRDiagsEmitter.h114 FunctionTemplate, enumerator
H A DDeclBase.h1111 DeclKind == FunctionTemplate; in isFunctionOrFunctionTemplate()
1225 assert(getKind() == Function || getKind() == FunctionTemplate); in setNonMemberOperator()
H A DDeclTemplate.h974 : RedeclarableTemplateDecl(FunctionTemplate, C, DC, L, Name, Params,
1094 static bool classofKind(Kind K) { return K == FunctionTemplate; }
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DODRDiagsEmitter.cpp616 case Decl::FunctionTemplate: in FindTypeDiffs()
617 return FunctionTemplate; in FindTypeDiffs()
1323 case FunctionTemplate: { in diagnoseMismatch()
1619 case FunctionTemplate: in diagnoseMismatch()
2061 case FunctionTemplate: in diagnoseMismatch()
2190 case FunctionTemplate: in diagnoseMismatch()
H A DODRHash.cpp550 case Decl::FunctionTemplate: in isSubDeclToBeProcessed()
H A DDeclBase.cpp934 case FunctionTemplate: in getIdentifierNamespaceForKind()
H A DDeclTemplate.cpp1698 case Decl::Kind::FunctionTemplate: in getReplacedTemplateParameterList()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDeclNodes.td68 def FunctionTemplate : DeclNode<RedeclarableTemplate>;
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp183 case Decl::Kind::FunctionTemplate: in HandleNamedDecl()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp387 case Decl::FunctionTemplate: in isRedeclarableDeclKind()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp288 case Decl::FunctionTemplate: in getSymbolInfo()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp79 case Decl::FunctionTemplate: in EmitDecl()
H A DCodeGenModule.cpp6943 case Decl::FunctionTemplate: in EmitTopLevelDecl()