| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 50 class FunctionTemplateDecl; variable 1058 FunctionTemplateDecl *getCanonicalDecl() override { 1059 return cast<FunctionTemplateDecl>( 1063 return cast<FunctionTemplateDecl>( 1069 FunctionTemplateDecl *getPreviousDecl() { 1070 return cast_or_null<FunctionTemplateDecl>( 1074 return cast_or_null<FunctionTemplateDecl>( 1078 FunctionTemplateDecl *getMostRecentDecl() { 1079 return cast<FunctionTemplateDecl>( 1088 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 | 43 void VisitFunctionTemplateDecl(const FunctionTemplateDecl *D);
|
| H A D | DeclFriend.h | 152 if (const auto *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getSourceRange()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclTemplate.cpp | 350 FunctionTemplateDecl * 361 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 363 return new (C, ID) FunctionTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 368 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon() 374 void FunctionTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations() 379 FunctionTemplateDecl::getSpecializations() const { in getSpecializations() 385 FunctionTemplateDecl::findSpecialization(ArrayRef<TemplateArgument> Args, in findSpecialization() 390 void FunctionTemplateDecl::addSpecialization( in addSpecialization() 412 void FunctionTemplateDecl::mergePrevDecl(FunctionTemplateDecl *Prev) { in mergePrevDecl() 422 SmallVector<FunctionTemplateDecl *, 8> PreviousDecls; in mergePrevDecl() [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 | 396 FunctionTemplateDecl *temp = specInfo->getTemplate(); in mergeTemplateLV() 3055 if (const FunctionTemplateDecl *InstantiatedFrom = in isThisDeclarationInstantiatedFromAFriendDefinition() 3362 FunctionTemplateDecl *PrevFunTmpl in setPreviousDeclaration() 3740 assert(isa<FunctionTemplateDecl>(ND) && in getTemplatedKind() 3784 return dyn_cast_or_null<FunctionTemplateDecl>( in getDescribedFunctionTemplate() 3789 FunctionTemplateDecl *Template) { in setDescribedFunctionTemplate() 3881 if (FunctionTemplateDecl *Primary = getPrimaryTemplate()) { in getTemplateInstantiationPattern() 3897 FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate() const { in getPrimaryTemplate() 3979 totalSizeToAlloc<TemplateArgumentLoc, FunctionTemplateDecl *>( in Create() 3991 FunctionTemplateDecl **TsArray = getTrailingObjects<FunctionTemplateDecl *>(); in DependentFunctionTemplateSpecializationInfo() [all …]
|
| H A D | DeclPrinter.cpp | 83 void VisitFunctionTemplateDecl(FunctionTemplateDecl *D); 460 } else if (auto TD = dyn_cast<FunctionTemplateDecl>(*D)) { in VisitDeclContext() 485 (isa<FunctionTemplateDecl>(*D) && in VisitDeclContext() 486 cast<FunctionTemplateDecl>(*D)->getTemplatedDecl()->doesThisDeclarationHaveABody()))) in VisitDeclContext() 813 else if (FunctionTemplateDecl *FTD = in VisitFriendDecl() 814 dyn_cast<FunctionTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl() 1164 void DeclPrinter::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | CodeCompleteConsumer.h | 42 class FunctionTemplateDecl; variable 1044 FunctionTemplateDecl *FunctionTemplate; 1069 OverloadCandidate(FunctionTemplateDecl *FunctionTemplateDecl) in OverloadCandidate() argument 1070 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { in OverloadCandidate() 1071 assert(FunctionTemplateDecl != nullptr); in OverloadCandidate() 1100 FunctionTemplateDecl *getFunctionTemplate() const { in getFunctionTemplate()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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 | 3430 FunctionTemplateDecl *FunctionTemplate, in FinishTemplateArgumentDeduction() 3662 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() 3950 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 4170 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 4433 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 5151 FunctionTemplateDecl *Sema::getMoreSpecializedTemplate( in getMoreSpecializedTemplate() 5152 FunctionTemplateDecl *FT1, FunctionTemplateDecl *FT2, SourceLocation Loc, in getMoreSpecializedTemplate() 5157 auto JudgeByConstraints = [&]() -> FunctionTemplateDecl * { in getMoreSpecializedTemplate() 5251 FunctionTemplateDecl *BestTemplate in getMostSpecialized() 5255 FunctionTemplateDecl *Challenger in getMostSpecialized() [all …]
|
| H A D | SemaLambda.cpp | 403 FunctionTemplateDecl *const TemplateMethod = TemplateParams ? in startLambdaDefinition() 404 FunctionTemplateDecl::Create(Context, Class, in startLambdaDefinition() 1460 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1462 FunctionTemplateDecl *ConversionTemplate = in addFunctionPointerConversion() 1463 FunctionTemplateDecl::Create(S.Context, Class, in addFunctionPointerConversion() 1500 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1502 FunctionTemplateDecl *StaticInvokerTemplate = FunctionTemplateDecl::Create( in addFunctionPointerConversion()
|
| H A D | SemaLookup.cpp | 334 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in checkDebugAssumptions() 475 isa<FunctionTemplateDecl>(D) || isa<FieldDecl>(D) || in canHideTag() 494 if (isa<FunctionTemplateDecl>(D)) in resolveKind() 572 } else if (isa<FunctionTemplateDecl>(D)) { in resolveKind() 1143 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect() 3486 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMember() 3487 dyn_cast<FunctionTemplateDecl>(Cand->getUnderlyingDecl())) { in LookupSpecialMember() 3681 if (FunctionTemplateDecl *FD = dyn_cast<FunctionTemplateDecl>(D)) { in LookupLiteralOperator() 3861 !isa<FunctionTemplateDecl>(Underlying)) in ArgumentDependentLookup() 5536 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in ValidateCandidate() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | MoveForwardingReferenceCheck.cpp | 106 const FunctionTemplateDecl *FuncTemplate = in check()
|
| H A D | ForwardingReferenceOverloadCheck.cpp | 101 const FunctionTemplateDecl *FuncTemplate = in check()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnusedUsingDeclsCheck.cpp | 37 isa<FunctionTemplateDecl>(TargetDecl) || isa<EnumDecl>(TargetDecl) || in shouldCheckDecl()
|