/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclTemplate.h | 51 class FunctionTemplateDecl; variable 1038 FunctionTemplateDecl *getCanonicalDecl() override { 1039 return cast<FunctionTemplateDecl>( 1043 return cast<FunctionTemplateDecl>( 1049 FunctionTemplateDecl *getPreviousDecl() { 1050 return cast_or_null<FunctionTemplateDecl>( 1054 return cast_or_null<FunctionTemplateDecl>( 1058 FunctionTemplateDecl *getMostRecentDecl() { 1059 return cast<FunctionTemplateDecl>( 1068 return cast_or_null<FunctionTemplateDecl>( [all …]
|
H A D | ASTLambda.h | 70 if (FunctionTemplateDecl *F = dyn_cast<FunctionTemplateDecl>(D)) in isLambdaConversionOperator()
|
H A D | ASTMutationListener.h | 27 class FunctionTemplateDecl; variable 72 virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, in AddedCXXTemplateSpecialization()
|
H A D | GlobalDecl.h | 135 (isa<FunctionTemplateDecl>(getDecl()) && in getKernelReferenceKind() 136 cast<FunctionTemplateDecl>(getDecl()) in getKernelReferenceKind()
|
H A D | ASTDumper.h | 44 void VisitFunctionTemplateDecl(const FunctionTemplateDecl *D);
|
H A D | DeclFriend.h | 151 if (const auto *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getSourceRange()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | CodeCompleteConsumer.h | 41 class FunctionTemplateDecl; variable 1058 FunctionTemplateDecl *FunctionTemplate; 1083 OverloadCandidate(FunctionTemplateDecl *FunctionTemplateDecl) in OverloadCandidate() argument 1084 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { in OverloadCandidate() 1085 assert(FunctionTemplateDecl != nullptr); in OverloadCandidate() 1114 FunctionTemplateDecl *getFunctionTemplate() const { in getFunctionTemplate()
|
H A D | Overload.h | 1208 FunctionTemplateDecl *ConstructorTmpl; 1224 Info.ConstructorTmpl = dyn_cast<FunctionTemplateDecl>(D); in getConstructorInfo()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclTemplate.cpp | 409 FunctionTemplateDecl * 420 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 422 return new (C, ID) FunctionTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 427 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon() 433 void FunctionTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations() 438 FunctionTemplateDecl::getSpecializations() const { in getSpecializations() 449 void FunctionTemplateDecl::addSpecialization( in addSpecialization() 455 void FunctionTemplateDecl::mergePrevDecl(FunctionTemplateDecl *Prev) { in mergePrevDecl() 465 SmallVector<FunctionTemplateDecl *, 8> PreviousDecls; in mergePrevDecl() 888 ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template, in Create() [all …]
|
H A D | DeclFriend.cpp | 44 isa<FunctionTemplateDecl>(D) || in Create()
|
H A D | Comment.cpp | 268 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(CommentDecl); in fill()
|
H A D | DeclPrinter.cpp | 96 void VisitFunctionTemplateDecl(FunctionTemplateDecl *D); 551 } else if (auto TD = dyn_cast<FunctionTemplateDecl>(*D)) { in VisitDeclContext() 573 (isa<FunctionTemplateDecl>(*D) && in VisitDeclContext() 574 cast<FunctionTemplateDecl>(*D)->getTemplatedDecl()->doesThisDeclarationHaveABody()))) in VisitDeclContext() 919 else if (FunctionTemplateDecl *FTD = in VisitFriendDecl() 920 dyn_cast<FunctionTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl() 1307 void DeclPrinter::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
|
H A D | Decl.cpp | 399 FunctionTemplateDecl *temp = specInfo->getTemplate(); in mergeTemplateLV() 3149 if (const FunctionTemplateDecl *InstantiatedFrom = in isThisDeclarationInstantiatedFromAFriendDefinition() 3549 FunctionTemplateDecl *PrevFunTmpl in setPreviousDeclaration() 3941 assert(isa<FunctionTemplateDecl>(ND) && in getTemplatedKind() 3985 return dyn_cast_if_present<FunctionTemplateDecl>( in getDescribedFunctionTemplate() 3990 FunctionTemplateDecl *Template) { in setDescribedFunctionTemplate() 4088 if (FunctionTemplateDecl *Primary = getPrimaryTemplate()) { in getTemplateInstantiationPattern() 4104 FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate() const { in getPrimaryTemplate() 4193 totalSizeToAlloc<FunctionTemplateDecl *>(Candidates.size()))) in Create() 4204 getTrailingObjects<FunctionTemplateDecl *>(), in DependentFunctionTemplateSpecializationInfo() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRFindingAction.cpp | 87 } else if (const auto *FD = dyn_cast<FunctionTemplateDecl>(FoundDecl)) { in Find() 138 void handleFunctionTemplateDecl(const FunctionTemplateDecl *FTD) { in handleFunctionTemplateDecl() 170 if (const auto *FTD = dyn_cast<FunctionTemplateDecl>(D)) in addUSRsOfCtorDtors()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAccess.cpp | 423 FunctionTemplateDecl *Context, in MightInstantiateTo() 424 FunctionTemplateDecl *Friend) { in MightInstantiateTo() 535 FunctionTemplateDecl *Friend) { in MatchesFriend() 543 FunctionTemplateDecl *FTD = (*I)->getPrimaryTemplate(); in MatchesFriend() 582 if (isa<FunctionTemplateDecl>(Friend)) in MatchesFriend() 583 return MatchesFriend(S, EC, cast<FunctionTemplateDecl>(Friend)); in MatchesFriend() 1097 (isa<FunctionTemplateDecl>(D) && in TryDiagnoseProtectedAccess() 1099 cast<FunctionTemplateDecl>(D)->getTemplatedDecl()))) { in TryDiagnoseProtectedAccess()
|
H A D | SemaLambda.cpp | 959 FunctionTemplateDecl *TemplateMethod = FunctionTemplateDecl::Create( in AddTemplateParametersToLambdaCallOperator() 984 FunctionTemplateDecl *TemplateMethod = in CompleteLambdaCallOperator() 1710 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1712 FunctionTemplateDecl *ConversionTemplate = in addFunctionPointerConversion() 1713 FunctionTemplateDecl::Create(S.Context, Class, in addFunctionPointerConversion() 1754 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1756 FunctionTemplateDecl *StaticInvokerTemplate = in addFunctionPointerConversion() 1757 FunctionTemplateDecl::Create( in addFunctionPointerConversion() 2307 FunctionTemplateDecl *FTD = FD->getPrimaryTemplate(); in getPatternFunctionDecl()
|
H A D | SemaTemplateDeduction.cpp | 3237 FunctionTemplateDecl *FunctionTemplate, in SubstituteExplicitTemplateArguments() 3636 FunctionTemplateDecl *FunctionTemplate, in FinishTemplateArgumentDeduction() 3910 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() 4209 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 4464 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 4752 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 5459 FunctionTemplateDecl *Sema::getMoreSpecializedTemplate( in getMoreSpecializedTemplate() 5460 FunctionTemplateDecl *FT1, FunctionTemplateDecl *FT2, SourceLocation Loc, in getMoreSpecializedTemplate() 5637 FunctionTemplateDecl *BestTemplate in getMostSpecialized() 5641 FunctionTemplateDecl *Challenger in getMostSpecialized() [all …]
|
H A D | SemaLookup.cpp | 336 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in checkDebugAssumptions() 478 isa<FunctionTemplateDecl>(D) || isa<FieldDecl>(D) || in canHideTag() 497 if (isa<FunctionTemplateDecl>(D)) in resolveKind() 597 } else if (isa<FunctionTemplateDecl>(D)) { in resolveKind() 1160 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect() 3514 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMember() 3515 dyn_cast<FunctionTemplateDecl>(Cand->getUnderlyingDecl())) { in LookupSpecialMember() 3710 if (FunctionTemplateDecl *FD = dyn_cast<FunctionTemplateDecl>(D)) { in LookupLiteralOperator() 3890 !isa<FunctionTemplateDecl>(Underlying)) in ArgumentDependentLookup() 5563 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in ValidateCandidate() [all …]
|
H A D | SemaOverload.cpp | 4901 FunctionTemplateDecl *ConvTemplate in FindConversionForRefInit() 4902 = dyn_cast<FunctionTemplateDecl>(D); in FindConversionForRefInit() 6478 FunctionTemplateDecl *ConvTemplate; in collectViableConversionCandidates() 6581 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in PerformContextualImplicitConversion() 7261 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in AddFunctionCandidates() 7332 if (FunctionTemplateDecl *TD = dyn_cast<FunctionTemplateDecl>(Decl)) { in AddMethodCandidate() 8204 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in AddNonMemberOperatorCandidates() 8627 if (isa<FunctionTemplateDecl>(D)) in AddTypesConvertedFrom() 11075 if (FunctionTemplateDecl *FunTmpl = in NoteAllOverloadCandidates() 13448 if (FunctionTemplateDecl *FuncTemplate in AddOverloadedCallCandidate() [all …]
|
H A D | SemaTemplateInstantiateDecl.cpp | 329 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(New)) in instantiateOMPDeclareSimdDeclAttr() 412 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(New)) in instantiateOMPDeclareVariantAttr() 1906 FunctionTemplateDecl *InstTemplate in VisitFunctionTemplateDecl() 2278 for (FunctionTemplateDecl *FTD : DFTSI->getCandidates()) { in VisitFunctionDecl() 2679 for (FunctionTemplateDecl *FTD : DFTSI->getCandidates()) { in VisitCXXMethodDecl() 4744 if (isa<FunctionTemplateDecl>(ActiveInst.Entity)) { in InitFunctionInstantiation() 4858 Sema::InstantiateFunctionDeclaration(FunctionTemplateDecl *FTD, in InstantiateFunctionDeclaration() 5886 static bool isInstantiationOf(FunctionTemplateDecl *Pattern, in isInstantiationOf() 5887 FunctionTemplateDecl *Instance) { in isInstantiationOf() 6036 if (auto *Temp = dyn_cast<FunctionTemplateDecl>(Other)) in isInstantiationOf() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InterfaceStubFunctionsConsumer.cpp | 150 void HandleTemplateSpecializations(const FunctionTemplateDecl &FTD, in HandleTemplateSpecializations() 183 HandleTemplateSpecializations(*cast<FunctionTemplateDecl>(ND), Symbols, in HandleNamedDecl()
|
H A D | MultiplexConsumer.cpp | 95 void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, 155 const FunctionTemplateDecl *TD, const FunctionDecl *D) { in AddedCXXTemplateSpecialization()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseCXXInlineMethods.cpp | 426 if (const auto *FunTmpl = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration() 470 if (FunctionTemplateDecl *FunTmpl in ParseLexedMethodDeclaration() 471 = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration() 593 !isa<FunctionTemplateDecl>(LM.D) || in ParseLexedMethodDef() 594 cast<FunctionTemplateDecl>(LM.D)->getTemplateParameters()->getDepth() in ParseLexedMethodDef()
|
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
H A D | ExtractAPIVisitor.h | 77 bool WalkUpFromFunctionTemplateDecl(const FunctionTemplateDecl *Decl); 113 bool VisitFunctionTemplateDecl(const FunctionTemplateDecl *Decl); 464 const FunctionTemplateDecl *Decl) { in WalkUpFromFunctionTemplateDecl() 635 FunctionTemplateDecl *TemplateDecl = Decl->getDescribedFunctionTemplate(); in VisitCXXMethodDecl() 934 const FunctionTemplateDecl *Decl) { in VisitFunctionTemplateDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CallGraph.cpp | 83 if (FunctionTemplateDecl *FTD = LE->getDependentCallOperator()) in VisitLambdaExpr()
|