/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | DeclTemplate.h | 51 class FunctionTemplateDecl; variable 1066 FunctionTemplateDecl *getCanonicalDecl() override { 1067 return cast<FunctionTemplateDecl>( 1071 return cast<FunctionTemplateDecl>( 1077 FunctionTemplateDecl *getPreviousDecl() { 1078 return cast_or_null<FunctionTemplateDecl>( 1082 return cast_or_null<FunctionTemplateDecl>( 1086 FunctionTemplateDecl *getMostRecentDecl() { 1087 return cast<FunctionTemplateDecl>( 1096 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 | 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 | 150 if (const auto *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getSourceRange()
|
/openbsd/gnu/llvm/clang/include/clang/Sema/ |
H A D | CodeCompleteConsumer.h | 41 class FunctionTemplateDecl; variable 1050 FunctionTemplateDecl *FunctionTemplate; 1075 OverloadCandidate(FunctionTemplateDecl *FunctionTemplateDecl) in OverloadCandidate() argument 1076 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { in OverloadCandidate() 1077 assert(FunctionTemplateDecl != nullptr); in OverloadCandidate() 1106 FunctionTemplateDecl *getFunctionTemplate() const { in getFunctionTemplate()
|
H A D | Overload.h | 1205 FunctionTemplateDecl *ConstructorTmpl; 1221 Info.ConstructorTmpl = dyn_cast<FunctionTemplateDecl>(D); in getConstructorInfo()
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | DeclTemplate.cpp | 376 FunctionTemplateDecl * 387 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 389 return new (C, ID) FunctionTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 394 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon() 400 void FunctionTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations() 405 FunctionTemplateDecl::getSpecializations() const { in getSpecializations() 416 void FunctionTemplateDecl::addSpecialization( in addSpecialization() 422 void FunctionTemplateDecl::mergePrevDecl(FunctionTemplateDecl *Prev) { in mergePrevDecl() 432 SmallVector<FunctionTemplateDecl *, 8> PreviousDecls; in mergePrevDecl() 891 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 | 264 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(CommentDecl); in fill()
|
H A D | Decl.cpp | 395 FunctionTemplateDecl *temp = specInfo->getTemplate(); in mergeTemplateLV() 3084 if (const FunctionTemplateDecl *InstantiatedFrom = in isThisDeclarationInstantiatedFromAFriendDefinition() 3396 FunctionTemplateDecl *PrevFunTmpl in setPreviousDeclaration() 3774 assert(isa<FunctionTemplateDecl>(ND) && in getTemplatedKind() 3818 return dyn_cast_or_null<FunctionTemplateDecl>( in getDescribedFunctionTemplate() 3823 FunctionTemplateDecl *Template) { in setDescribedFunctionTemplate() 3915 if (FunctionTemplateDecl *Primary = getPrimaryTemplate()) { in getTemplateInstantiationPattern() 3931 FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate() const { in getPrimaryTemplate() 4013 totalSizeToAlloc<TemplateArgumentLoc, FunctionTemplateDecl *>( in Create() 4025 FunctionTemplateDecl **TsArray = getTrailingObjects<FunctionTemplateDecl *>(); in DependentFunctionTemplateSpecializationInfo() [all …]
|
H A D | DeclPrinter.cpp | 84 void VisitFunctionTemplateDecl(FunctionTemplateDecl *D); 462 } else if (auto TD = dyn_cast<FunctionTemplateDecl>(*D)) { in VisitDeclContext() 484 (isa<FunctionTemplateDecl>(*D) && in VisitDeclContext() 485 cast<FunctionTemplateDecl>(*D)->getTemplatedDecl()->doesThisDeclarationHaveABody()))) in VisitDeclContext() 812 else if (FunctionTemplateDecl *FTD = in VisitFriendDecl() 813 dyn_cast<FunctionTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl() 1168 void DeclPrinter::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/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 | SemaLambda.cpp | 411 FunctionTemplateDecl *const TemplateMethod = TemplateParams ? in startLambdaDefinition() 412 FunctionTemplateDecl::Create(Context, Class, in startLambdaDefinition() 1496 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1498 FunctionTemplateDecl *ConversionTemplate = in addFunctionPointerConversion() 1499 FunctionTemplateDecl::Create(S.Context, Class, in addFunctionPointerConversion() 1540 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1542 FunctionTemplateDecl *StaticInvokerTemplate = in addFunctionPointerConversion() 1543 FunctionTemplateDecl::Create( in addFunctionPointerConversion()
|
H A D | SemaTemplateDeduction.cpp | 3186 FunctionTemplateDecl *FunctionTemplate, in SubstituteExplicitTemplateArguments() 3536 FunctionTemplateDecl *FunctionTemplate, in FinishTemplateArgumentDeduction() 3776 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() 4062 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 4283 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 4546 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 5191 FunctionTemplateDecl *Sema::getMoreSpecializedTemplate( in getMoreSpecializedTemplate() 5192 FunctionTemplateDecl *FT1, FunctionTemplateDecl *FT2, SourceLocation Loc, in getMoreSpecializedTemplate() 5369 FunctionTemplateDecl *BestTemplate in getMostSpecialized() 5373 FunctionTemplateDecl *Challenger in getMostSpecialized() [all …]
|
H A D | SemaLookup.cpp | 336 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in checkDebugAssumptions() 477 isa<FunctionTemplateDecl>(D) || isa<FieldDecl>(D) || in canHideTag() 496 if (isa<FunctionTemplateDecl>(D)) in resolveKind() 575 } else if (isa<FunctionTemplateDecl>(D)) { in resolveKind() 1146 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect() 3497 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMember() 3498 dyn_cast<FunctionTemplateDecl>(Cand->getUnderlyingDecl())) { in LookupSpecialMember() 3693 if (FunctionTemplateDecl *FD = dyn_cast<FunctionTemplateDecl>(D)) { in LookupLiteralOperator() 3873 !isa<FunctionTemplateDecl>(Underlying)) in ArgumentDependentLookup() 5545 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in ValidateCandidate() [all …]
|
H A D | SemaOverload.cpp | 4732 FunctionTemplateDecl *ConvTemplate in FindConversionForRefInit() 4733 = dyn_cast<FunctionTemplateDecl>(D); in FindConversionForRefInit() 6157 FunctionTemplateDecl *ConvTemplate; in collectViableConversionCandidates() 6258 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in PerformContextualImplicitConversion() 6938 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in AddFunctionCandidates() 7009 if (FunctionTemplateDecl *TD = dyn_cast<FunctionTemplateDecl>(Decl)) { in AddMethodCandidate() 7829 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in AddNonMemberOperatorCandidates() 8253 if (isa<FunctionTemplateDecl>(D)) in AddTypesConvertedFrom() 10653 if (FunctionTemplateDecl *FunTmpl = in NoteAllOverloadCandidates() 12944 if (FunctionTemplateDecl *FuncTemplate in AddOverloadedCallCandidate() [all …]
|
H A D | SemaTemplateInstantiateDecl.cpp | 317 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(New)) in instantiateOMPDeclareSimdDeclAttr() 400 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(New)) in instantiateOMPDeclareVariantAttr() 1862 FunctionTemplateDecl *InstTemplate in VisitFunctionTemplateDecl() 2237 Previous.addDecl(cast<FunctionTemplateDecl>(Temp)); in VisitFunctionDecl() 2627 Previous.addDecl(cast<FunctionTemplateDecl>(Temp)); in VisitCXXMethodDecl() 4647 if (FunctionTemplateDecl *FunTmpl in InitFunctionInstantiation() 4648 = dyn_cast<FunctionTemplateDecl>(ActiveInst.Entity)) { in InitFunctionInstantiation() 4765 Sema::InstantiateFunctionDeclaration(FunctionTemplateDecl *FTD, in InstantiateFunctionDeclaration() 5784 static bool isInstantiationOf(FunctionTemplateDecl *Pattern, in isInstantiationOf() 5785 FunctionTemplateDecl *Instance) { in isInstantiationOf() [all …]
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/clang/lib/Parse/ |
H A D | ParseCXXInlineMethods.cpp | 423 if (const auto *FunTmpl = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration() 467 if (FunctionTemplateDecl *FunTmpl in ParseLexedMethodDeclaration() 468 = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration() 590 !isa<FunctionTemplateDecl>(LM.D) || in ParseLexedMethodDef() 591 cast<FunctionTemplateDecl>(LM.D)->getTemplateParameters()->getDepth() in ParseLexedMethodDef()
|
/openbsd/gnu/llvm/clang/tools/libclang/ |
H A D | CXIndexDataConsumer.h | 24 class FunctionTemplateDecl; variable 409 bool handleFunctionTemplate(const FunctionTemplateDecl *D);
|
H A D | CXIndexDataConsumer.cpp | 135 bool VisitFunctionTemplateDecl(const FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl() 878 bool CXIndexDataConsumer::handleFunctionTemplate(const FunctionTemplateDecl *D) { in handleFunctionTemplate() 1055 if (FunctionTemplateDecl *TemplD = FD->getDescribedFunctionTemplate()) in getEntityDecl() 1073 } else if (const FunctionTemplateDecl * in getEntityContainer() 1074 FuncTempl = dyn_cast<FunctionTemplateDecl>(D)) { in getEntityContainer()
|