| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 49 class FunctionTemplateDecl; variable 1044 FunctionTemplateDecl *getCanonicalDecl() override { 1045 return cast<FunctionTemplateDecl>( 1049 return cast<FunctionTemplateDecl>( 1055 FunctionTemplateDecl *getPreviousDecl() { 1056 return cast_or_null<FunctionTemplateDecl>( 1060 return cast_or_null<FunctionTemplateDecl>( 1064 FunctionTemplateDecl *getMostRecentDecl() { 1065 return cast<FunctionTemplateDecl>( 1074 return cast_or_null<FunctionTemplateDecl>( [all …]
|
| H A D | ASTLambda.h | 55 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 | ASTDumper.h | 43 void VisitFunctionTemplateDecl(const FunctionTemplateDecl *D);
|
| H A D | DeclFriend.h | 152 if (const auto *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getSourceRange()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclTemplate.cpp | 342 FunctionTemplateDecl *FunctionTemplateDecl::Create(ASTContext &C, in Create() 349 return new (C, DC) FunctionTemplateDecl(C, DC, L, Name, Params, Decl); in Create() 352 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 354 return new (C, ID) FunctionTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 359 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon() 365 void FunctionTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations() 370 FunctionTemplateDecl::getSpecializations() const { in getSpecializations() 381 void FunctionTemplateDecl::addSpecialization( in addSpecialization() 403 void FunctionTemplateDecl::mergePrevDecl(FunctionTemplateDecl *Prev) { in mergePrevDecl() 413 SmallVector<FunctionTemplateDecl *, 8> PreviousDecls; in mergePrevDecl() [all …]
|
| H A D | DeclFriend.cpp | 44 isa<FunctionTemplateDecl>(D) || in Create()
|
| H A D | Comment.cpp | 263 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(CommentDecl); in fill()
|
| H A D | Decl.cpp | 395 FunctionTemplateDecl *temp = specInfo->getTemplate(); in mergeTemplateLV() 2954 if (const FunctionTemplateDecl *InstantiatedFrom = in isThisDeclarationInstantiatedFromAFriendDefinition() 3253 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { in setPreviousDeclaration() 3254 FunctionTemplateDecl *PrevFunTmpl in setPreviousDeclaration() 3629 if (TemplateOrSpecialization.is<FunctionTemplateDecl *>()) in getTemplatedKind() 3671 return TemplateOrSpecialization.dyn_cast<FunctionTemplateDecl *>(); in getDescribedFunctionTemplate() 3755 if (FunctionTemplateDecl *Primary = getPrimaryTemplate()) { in getTemplateInstantiationPattern() 3771 FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate() const { in getPrimaryTemplate() 3853 totalSizeToAlloc<TemplateArgumentLoc, FunctionTemplateDecl *>( in Create() 3865 FunctionTemplateDecl **TsArray = getTrailingObjects<FunctionTemplateDecl *>(); in DependentFunctionTemplateSpecializationInfo() [all …]
|
| H A D | DeclPrinter.cpp | 83 void VisitFunctionTemplateDecl(FunctionTemplateDecl *D); 459 } else if (auto TD = dyn_cast<FunctionTemplateDecl>(*D)) { in VisitDeclContext() 484 (isa<FunctionTemplateDecl>(*D) && in VisitDeclContext() 485 cast<FunctionTemplateDecl>(*D)->getTemplatedDecl()->doesThisDeclarationHaveABody()))) in VisitDeclContext() 815 else if (FunctionTemplateDecl *FTD = in VisitFriendDecl() 816 dyn_cast<FunctionTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl() 1152 void DeclPrinter::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
|
| H A D | ASTDumper.cpp | 139 void ASTDumper::VisitFunctionTemplateDecl(const FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | CodeCompleteConsumer.h | 42 class FunctionTemplateDecl; variable 1028 FunctionTemplateDecl *FunctionTemplate; 1039 OverloadCandidate(FunctionTemplateDecl *FunctionTemplateDecl) in OverloadCandidate() argument 1040 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) {} in OverloadCandidate() 1053 FunctionTemplateDecl *getFunctionTemplate() const { in getFunctionTemplate()
|
| H A D | Overload.h | 1164 FunctionTemplateDecl *ConstructorTmpl; 1180 Info.ConstructorTmpl = dyn_cast<FunctionTemplateDecl>(D); in getConstructorInfo()
|
| /freebsd-13.1/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() 172 if (const auto *FTD = dyn_cast<FunctionTemplateDecl>(D)) in addUSRsOfCtorDtors()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAccess.cpp | 413 FunctionTemplateDecl *Context, in MightInstantiateTo() 414 FunctionTemplateDecl *Friend) { in MightInstantiateTo() 525 FunctionTemplateDecl *Friend) { in MatchesFriend() 533 FunctionTemplateDecl *FTD = (*I)->getPrimaryTemplate(); in MatchesFriend() 572 if (isa<FunctionTemplateDecl>(Friend)) in MatchesFriend() 573 return MatchesFriend(S, EC, cast<FunctionTemplateDecl>(Friend)); in MatchesFriend() 1087 (isa<FunctionTemplateDecl>(D) && in TryDiagnoseProtectedAccess() 1089 cast<FunctionTemplateDecl>(D)->getTemplatedDecl()))) { in TryDiagnoseProtectedAccess()
|
| H A D | SemaTemplateDeduction.cpp | 3555 FunctionTemplateDecl *FunctionTemplate, in FinishTemplateArgumentDeduction() 3787 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() 4074 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 4294 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 4557 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 5272 FunctionTemplateDecl * 5273 Sema::getMoreSpecializedTemplate(FunctionTemplateDecl *FT1, in getMoreSpecializedTemplate() 5274 FunctionTemplateDecl *FT2, in getMoreSpecializedTemplate() 5373 FunctionTemplateDecl *BestTemplate in getMostSpecialized() 5377 FunctionTemplateDecl *Challenger in getMostSpecialized() [all …]
|
| H A D | SemaLambda.cpp | 405 FunctionTemplateDecl *const TemplateMethod = TemplateParams ? in startLambdaDefinition() 406 FunctionTemplateDecl::Create(Context, Class, in startLambdaDefinition() 1460 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1462 FunctionTemplateDecl *ConversionTemplate = in addFunctionPointerConversion() 1463 FunctionTemplateDecl::Create(S.Context, Class, in addFunctionPointerConversion() 1499 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1501 FunctionTemplateDecl *StaticInvokerTemplate = FunctionTemplateDecl::Create( in addFunctionPointerConversion()
|
| H A D | SemaLookup.cpp | 333 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in sanity() 474 isa<FunctionTemplateDecl>(D) || isa<FieldDecl>(D) || in canHideTag() 493 if (isa<FunctionTemplateDecl>(D)) in resolveKind() 571 } else if (isa<FunctionTemplateDecl>(D)) { in resolveKind() 1133 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect() 3230 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMember() 3231 dyn_cast<FunctionTemplateDecl>(Cand->getUnderlyingDecl())) { in LookupSpecialMember() 3425 if (FunctionTemplateDecl *FD = dyn_cast<FunctionTemplateDecl>(D)) { in LookupLiteralOperator() 3599 !isa<FunctionTemplateDecl>(Underlying)) in ArgumentDependentLookup() 5221 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in ValidateCandidate() [all …]
|
| H A D | SemaTemplateInstantiateDecl.cpp | 294 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(New)) in instantiateOMPDeclareSimdDeclAttr() 377 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(New)) in instantiateOMPDeclareVariantAttr() 1792 FunctionTemplateDecl *InstTemplate in VisitFunctionTemplateDecl() 2163 Previous.addDecl(cast<FunctionTemplateDecl>(Temp)); in VisitFunctionDecl() 2526 Previous.addDecl(cast<FunctionTemplateDecl>(Temp)); in VisitCXXMethodDecl() 4558 FunctionTemplateDecl *Template = Decl->getPrimaryTemplate(); in CheckInstantiatedFunctionTemplateConstraints() 4627 if (FunctionTemplateDecl *FunTmpl in InitFunctionInstantiation() 4745 Sema::InstantiateFunctionDeclaration(FunctionTemplateDecl *FTD, in InstantiateFunctionDeclaration() 5744 static bool isInstantiationOf(FunctionTemplateDecl *Pattern, in isInstantiationOf() 5745 FunctionTemplateDecl *Instance) { in isInstantiationOf() [all …]
|
| H A D | SemaOverload.cpp | 4627 FunctionTemplateDecl *ConvTemplate in FindConversionForRefInit() 4628 = dyn_cast<FunctionTemplateDecl>(D); in FindConversionForRefInit() 5996 FunctionTemplateDecl *ConvTemplate; in collectViableConversionCandidates() 6097 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in PerformContextualImplicitConversion() 6751 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in AddFunctionCandidates() 6822 if (FunctionTemplateDecl *TD = dyn_cast<FunctionTemplateDecl>(Decl)) { in AddMethodCandidate() 7624 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in AddNonMemberOperatorCandidates() 8043 if (isa<FunctionTemplateDecl>(D)) in AddTypesConvertedFrom() 10352 if (FunctionTemplateDecl *FunTmpl = in NoteAllOverloadCandidates() 12619 if (FunctionTemplateDecl *FuncTemplate in AddOverloadedCallCandidate() [all …]
|
| /freebsd-13.1/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 | 89 void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, 149 const FunctionTemplateDecl *TD, const FunctionDecl *D) { in AddedCXXTemplateSpecialization()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 409 if (const auto *FunTmpl = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration() 453 if (FunctionTemplateDecl *FunTmpl in ParseLexedMethodDeclaration() 454 = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration() 575 !isa<FunctionTemplateDecl>(LM.D) || in ParseLexedMethodDef() 576 cast<FunctionTemplateDecl>(LM.D)->getTemplateParameters()->getDepth() in ParseLexedMethodDef()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CallGraph.cpp | 83 if (FunctionTemplateDecl *FTD = LE->getDependentCallOperator()) in VisitLambdaExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Index/ |
| H A D | USRGeneration.cpp | 90 void VisitFunctionTemplateDecl(const FunctionTemplateDecl *D); 231 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl() 372 void USRGenerator::VisitFunctionTemplateDecl(const FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
|