| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/abseil/ |
| H A D | faster-strsplit-delimiter.cpp | 110 void FunctionTemplate() { in FunctionTemplate() function 122 FunctionTemplate<absl::ByAnyChar>(); in FunctionTemplateCaller() 123 FunctionTemplate<absl::string_view>(); in FunctionTemplateCaller()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterGenericRedeclTest.cpp | 54 struct FunctionTemplate { struct 440 RedeclChain, FunctionTemplate, , 463 ASTIMPORTER_INSTANTIATE_TYPED_TEST_SUITE(RedeclChain, FunctionTemplate, , 482 ASTIMPORTER_INSTANTIATE_TYPED_TEST_SUITE(RedeclChain, FunctionTemplate, , 501 ASTIMPORTER_INSTANTIATE_TYPED_TEST_SUITE(RedeclChain, FunctionTemplate, , 520 ASTIMPORTER_INSTANTIATE_TYPED_TEST_SUITE(RedeclChain, FunctionTemplate, , 538 ASTIMPORTER_INSTANTIATE_TYPED_TEST_SUITE(RedeclChain, FunctionTemplate, , 556 ASTIMPORTER_INSTANTIATE_TYPED_TEST_SUITE(RedeclChain, FunctionTemplate, , 575 ASTIMPORTER_INSTANTIATE_TYPED_TEST_SUITE(RedeclChain, FunctionTemplate, , 594 ASTIMPORTER_INSTANTIATE_TYPED_TEST_SUITE(RedeclChain, FunctionTemplate, , [all …]
|
| H A D | ASTImporterODRStrategiesTest.cpp | 118 struct FunctionTemplate { struct 569 FunctionTemplate, Liberal, , 575 FunctionTemplate, Conservative, , 581 FunctionTemplate, Liberal, , 587 FunctionTemplate, Conservative, ,
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 3092 = FunctionTemplate->getTemplateParameters(); in SubstituteExplicitTemplateArguments() 3430 FunctionTemplateDecl *FunctionTemplate, in FinishTemplateArgumentDeduction() argument 3482 if (FunctionTemplate->getFriendObjectKind()) in FinishTemplateArgumentDeduction() 3491 FunctionTemplate->getCanonicalDecl()); in FinishTemplateArgumentDeduction() 3950 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() argument 3955 if (FunctionTemplate->isInvalidDecl()) in DeduceTemplateArguments() 3981 = FunctionTemplate->getTemplateParameters(); in DeduceTemplateArguments() 4170 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() argument 4174 if (FunctionTemplate->isInvalidDecl()) in DeduceTemplateArguments() 4179 = FunctionTemplate->getTemplateParameters(); in DeduceTemplateArguments() [all …]
|
| H A D | SemaTemplateInstantiateDecl.cpp | 2002 if (FunctionTemplate && !TemplateParams) { in VisitFunctionDecl() 2015 if (FunctionTemplate) in VisitFunctionDecl() 2173 } else if (FunctionTemplate) { in VisitFunctionDecl() 2255 } else if (TemplateParams || !FunctionTemplate) { in VisitFunctionDecl() 2337 if (FunctionTemplate && !TemplateParams) { in VisitCXXMethodDecl() 2353 if (FunctionTemplate) in VisitCXXMethodDecl() 2530 FunctionTemplate->setLexicalDeclContext(Owner); in VisitCXXMethodDecl() 2531 FunctionTemplate->setObjectOfFriendDecl(); in VisitCXXMethodDecl() 2535 } else if (FunctionTemplate) { in VisitCXXMethodDecl() 2653 if (FunctionTemplate) in VisitCXXMethodDecl() [all …]
|
| H A D | CodeCompleteConsumer.cpp | 500 return FunctionTemplate->getTemplatedDecl(); in getFunction() 512 return FunctionTemplate->getTemplatedDecl() in getFunctionType()
|
| H A D | SemaOverload.cpp | 7161 if (!CandidateSet.isNewCandidate(FunctionTemplate, PO)) in AddTemplateOverloadCandidate() 7170 Candidate.Function = FunctionTemplate->getTemplatedDecl(); in AddTemplateOverloadCandidate() 7198 Candidate.Function = FunctionTemplate->getTemplatedDecl(); in AddTemplateOverloadCandidate() 7243 auto *FD = FunctionTemplate->getTemplatedDecl(); in CheckNonDependentConversions() 7547 if (!CandidateSet.isNewCandidate(FunctionTemplate)) in AddTemplateConversionCandidate() 7556 Candidate.Function = FunctionTemplate->getTemplatedDecl(); in AddTemplateConversionCandidate() 7565 = DeduceTemplateArguments(FunctionTemplate, ToType, in AddTemplateConversionCandidate() 7569 Candidate.Function = FunctionTemplate->getTemplatedDecl(); in AddTemplateConversionCandidate() 12196 = S.DeduceTemplateArguments(FunctionTemplate, in AddMatchingTemplateFunction() 12287 if (FunctionTemplateDecl *FunctionTemplate in FindAllFunctionsThatMatchTargetTypeExactly() local [all …]
|
| H A D | SemaDecl.cpp | 9633 if (FunctionTemplate) in ActOnFunctionDeclarator() 9634 FunctionTemplate->setInvalidDecl(); in ActOnFunctionDeclarator() 9760 if (FunctionTemplate) in ActOnFunctionDeclarator() 9766 if (FunctionTemplate) { in ActOnFunctionDeclarator() 10070 } else if (FunctionTemplate) { in ActOnFunctionDeclarator() 10182 if (FunctionTemplate) FunctionTemplate->setAccess(Access); in ActOnFunctionDeclarator() 10191 if (FunctionTemplate) { in ActOnFunctionDeclarator() 10429 if (FunctionTemplate) { in ActOnFunctionDeclarator() 10437 if (FunctionTemplate) { in ActOnFunctionDeclarator() 10439 FunctionTemplate->setInvalidDecl(); in ActOnFunctionDeclarator() [all …]
|
| H A D | SemaTemplateInstantiate.cpp | 290 FunctionTemplateDecl *FunctionTemplate, in InstantiatingTemplate() argument 295 InstantiationRange, FunctionTemplate, nullptr, in InstantiatingTemplate()
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-member-specialization.cpp | 4 namespace FunctionTemplate { namespace
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | CodeCompleteConsumer.h | 1044 FunctionTemplateDecl *FunctionTemplate; member 1070 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { in OverloadCandidate() 1102 return FunctionTemplate; in getFunctionTemplate()
|
| H A D | Sema.h | 2655 static NameClassification FunctionTemplate(TemplateName Name) { in FunctionTemplate() function 2762 FunctionTemplate, enumerator 3892 FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, 3911 FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, 8760 FunctionTemplateDecl *FunctionTemplate, 8782 FunctionTemplateDecl *FunctionTemplate, 8791 FunctionTemplateDecl *FunctionTemplate, 8798 DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, 8806 DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, 8812 DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | DeclNodes.td | 68 def FunctionTemplate : DeclNode<RedeclarableTemplate>;
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Comment.cpp | 263 case Decl::FunctionTemplate: { in fill()
|
| H A D | ODRHash.cpp | 458 case Decl::FunctionTemplate: in isDeclToBeProcessed()
|
| H A D | DeclBase.cpp | 808 case FunctionTemplate: in getIdentifierNamespaceForKind()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | InterfaceStubFunctionsConsumer.cpp | 182 case Decl::Kind::FunctionTemplate: in HandleNamedDecl()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTCommon.cpp | 374 case Decl::FunctionTemplate: in isRedeclarableDeclKind()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-move/ |
| H A D | Move.cpp | 888 Kind == Decl::Kind::FunctionTemplate) in onEndOfTranslationUnit() 910 case Decl::Kind::FunctionTemplate: in onEndOfTranslationUnit()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | FindTargetTests.cpp | 606 TEST_F(TargetDeclTest, FunctionTemplate) { in TEST_F() argument
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclBase.h | 1076 DeclKind == FunctionTemplate; in isFunctionOrFunctionTemplate() 1184 assert(getKind() == Function || getKind() == FunctionTemplate); in setNonMemberOperator()
|
| H A D | DeclTemplate.h | 1014 : RedeclarableTemplateDecl(FunctionTemplate, C, DC, L, Name, Params, 1142 static bool classofKind(Kind K) { return K == FunctionTemplate; }
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexSymbol.cpp | 287 case Decl::FunctionTemplate: in getSymbolInfo()
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | odr_hash.cpp | 2796 namespace FunctionTemplate { namespace
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | XRefs.cpp | 2135 Decl->getKind() != Decl::Kind::FunctionTemplate) in prepareCallHierarchy()
|