/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateDeduction.cpp | 3432 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 D | SemaTemplateInstantiateDecl.cpp | 2100 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 D | CodeCompleteConsumer.cpp | 506 return FunctionTemplate->getTemplatedDecl(); in getFunction() 518 return FunctionTemplate->getTemplatedDecl() in getFunctionType()
|
H A D | SemaOverload.cpp | 7644 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 D | SemaDecl.cpp | 1134 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 D | SemaTemplateInstantiate.cpp | 642 FunctionTemplateDecl *FunctionTemplate, in InstantiatingTemplate() argument 647 InstantiationRange, FunctionTemplate, nullptr, in InstantiatingTemplate()
|
H A D | SemaCodeComplete.cpp | 4129 case Decl::FunctionTemplate: in getCursorKindForDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | CodeCompleteConsumer.h | 1060 FunctionTemplateDecl *FunctionTemplate; member 1086 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { in OverloadCandidate() 1118 return FunctionTemplate; in getFunctionTemplate()
|
H A D | Sema.h | 3270 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 D | ODRDiagsEmitter.h | 114 FunctionTemplate, enumerator
|
H A D | DeclBase.h | 1111 DeclKind == FunctionTemplate; in isFunctionOrFunctionTemplate() 1225 assert(getKind() == Function || getKind() == FunctionTemplate); in setNonMemberOperator()
|
H A D | DeclTemplate.h | 974 : 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 D | ODRDiagsEmitter.cpp | 616 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 D | ODRHash.cpp | 550 case Decl::FunctionTemplate: in isSubDeclToBeProcessed()
|
H A D | DeclBase.cpp | 934 case FunctionTemplate: in getIdentifierNamespaceForKind()
|
H A D | DeclTemplate.cpp | 1698 case Decl::Kind::FunctionTemplate: in getReplacedTemplateParameterList()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | DeclNodes.td | 68 def FunctionTemplate : DeclNode<RedeclarableTemplate>;
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InterfaceStubFunctionsConsumer.cpp | 183 case Decl::Kind::FunctionTemplate: in HandleNamedDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTCommon.cpp | 387 case Decl::FunctionTemplate: in isRedeclarableDeclKind()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexSymbol.cpp | 288 case Decl::FunctionTemplate: in getSymbolInfo()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 79 case Decl::FunctionTemplate: in EmitDecl()
|
H A D | CodeGenModule.cpp | 6943 case Decl::FunctionTemplate: in EmitTopLevelDecl()
|