Home
last modified time | relevance | path

Searched refs:FunctionTemplate (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/abseil/
H A Dfaster-strsplit-delimiter.cpp110 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 DASTImporterGenericRedeclTest.cpp54 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 DASTImporterODRStrategiesTest.cpp118 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 DSemaTemplateDeduction.cpp3092 = 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 DSemaTemplateInstantiateDecl.cpp2002 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 DCodeCompleteConsumer.cpp500 return FunctionTemplate->getTemplatedDecl(); in getFunction()
512 return FunctionTemplate->getTemplatedDecl() in getFunctionType()
H A DSemaOverload.cpp7161 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 DSemaDecl.cpp9633 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 DSemaTemplateInstantiate.cpp290 FunctionTemplateDecl *FunctionTemplate, in InstantiatingTemplate() argument
295 InstantiationRange, FunctionTemplate, nullptr, in InstantiatingTemplate()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-member-specialization.cpp4 namespace FunctionTemplate { namespace
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h1044 FunctionTemplateDecl *FunctionTemplate; member
1070 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { in OverloadCandidate()
1102 return FunctionTemplate; in getFunctionTemplate()
H A DSema.h2655 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 DDeclNodes.td68 def FunctionTemplate : DeclNode<RedeclarableTemplate>;
/llvm-project-15.0.7/clang/lib/AST/
H A DComment.cpp263 case Decl::FunctionTemplate: { in fill()
H A DODRHash.cpp458 case Decl::FunctionTemplate: in isDeclToBeProcessed()
H A DDeclBase.cpp808 case FunctionTemplate: in getIdentifierNamespaceForKind()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp182 case Decl::Kind::FunctionTemplate: in HandleNamedDecl()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTCommon.cpp374 case Decl::FunctionTemplate: in isRedeclarableDeclKind()
/llvm-project-15.0.7/clang-tools-extra/clang-move/
H A DMove.cpp888 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 DFindTargetTests.cpp606 TEST_F(TargetDeclTest, FunctionTemplate) { in TEST_F() argument
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclBase.h1076 DeclKind == FunctionTemplate; in isFunctionOrFunctionTemplate()
1184 assert(getKind() == Function || getKind() == FunctionTemplate); in setNonMemberOperator()
H A DDeclTemplate.h1014 : 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 DIndexSymbol.cpp287 case Decl::FunctionTemplate: in getSymbolInfo()
/llvm-project-15.0.7/clang/test/Modules/
H A Dodr_hash.cpp2796 namespace FunctionTemplate { namespace
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DXRefs.cpp2135 Decl->getKind() != Decl::Kind::FunctionTemplate) in prepareCallHierarchy()

12