Home
last modified time | relevance | path

Searched defs:FunctionTemplate (Results 1 – 15 of 15) sorted by relevance

/llvm-project/clang/test/SemaTemplate/
H A Dinstantiate-member-specialization.cpp4 namespace FunctionTemplate { namespace
/llvm-project/clang/unittests/AST/
H A DASTImporterODRStrategiesTest.cpp118 struct FunctionTemplate { struct
119 using DeclTy = FunctionTemplateDecl;
120 static constexpr auto *Definition0 =
126 static constexpr auto *Definition1 =
131 BindableMatcher<Decl> getPattern() { in getPattern()
134 static std::string getDef0() { return Definition0; } in getDef0()
135 static std::string getDef1() { return Definition1; } in getDef1()
136 TestLanguage getLang() { return Lang_CXX03; } in getLang()
H A DASTImporterGenericRedeclTest.cpp54 struct FunctionTemplate { struct
55 using DeclTy = FunctionTemplateDecl;
56 static constexpr auto *Prototype = "template <class T> void X();";
57 static constexpr auto *Definition =
63 BindableMatcher<Decl> getPattern() { in getPattern()
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/abseil/
H A Dfaster-strsplit-delimiter.cpp110 void FunctionTemplate() { in FunctionTemplate() function
/llvm-project/clang-tools-extra/clang-tidy/modernize/
H A DUseConstraintsCheck.cpp149 matchTrailingTemplateParam(const FunctionTemplateDecl *FunctionTemplate) { in matchTrailingTemplateParam()
391 handleTrailingTemplateType(const FunctionTemplateDecl *FunctionTemplate, in handleTrailingTemplateType()
447 const auto *FunctionTemplate = in check() local
/llvm-project/clang/include/clang/AST/
H A DODRDiagsEmitter.h114 FunctionTemplate, enumerator
/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp3432 SubstituteExplicitTemplateArguments(FunctionTemplateDecl * FunctionTemplate,TemplateArgumentListInfo & ExplicitTemplateArgs,SmallVectorImpl<DeducedTemplateArgument> & Deduced,SmallVectorImpl<QualType> & ParamTypes,QualType * FunctionType,TemplateDeductionInfo & Info) SubstituteExplicitTemplateArguments() argument
3745 getPackIndexForParam(Sema & S,FunctionTemplateDecl * FunctionTemplate,const MultiLevelTemplateArgumentList & Args,unsigned ParamIdx) getPackIndexForParam() argument
3772 instantiateExplicitSpecifierDeferred(Sema & S,FunctionDecl * Specialization,const MultiLevelTemplateArgumentList & SubstArgs,TemplateDeductionInfo & Info,FunctionTemplateDecl * FunctionTemplate,ArrayRef<TemplateArgument> DeducedArgs) instantiateExplicitSpecifierDeferred() argument
3809 FinishTemplateArgumentDeduction(FunctionTemplateDecl * FunctionTemplate,SmallVectorImpl<DeducedTemplateArgument> & Deduced,unsigned NumExplicitlySpecified,FunctionDecl * & Specialization,TemplateDeductionInfo & Info,SmallVectorImpl<OriginalCallArg> const * OriginalCallArgs,bool PartialOverloading,llvm::function_ref<bool ()> CheckNonDependent) FinishTemplateArgumentDeduction() argument
4363 DeduceTemplateArguments(FunctionTemplateDecl * FunctionTemplate,TemplateArgumentListInfo * ExplicitTemplateArgs,ArrayRef<Expr * > Args,FunctionDecl * & Specialization,TemplateDeductionInfo & Info,bool PartialOverloading,bool AggregateDeductionCandidate,QualType ObjectType,Expr::Classification ObjectClassification,llvm::function_ref<bool (ArrayRef<QualType>)> CheckNonDependent) DeduceTemplateArguments() argument
4624 DeduceTemplateArguments(FunctionTemplateDecl * FunctionTemplate,TemplateArgumentListInfo * ExplicitTemplateArgs,QualType ArgFunctionType,FunctionDecl * & Specialization,TemplateDeductionInfo & Info,bool IsAddressOfFunction) DeduceTemplateArguments() argument
4882 DeduceTemplateArguments(FunctionTemplateDecl * FunctionTemplate,TemplateArgumentListInfo * ExplicitTemplateArgs,FunctionDecl * & Specialization,TemplateDeductionInfo & Info,bool IsAddressOfFunction) DeduceTemplateArguments() argument
6719 MarkDeducedTemplateParameters(ASTContext & Ctx,const FunctionTemplateDecl * FunctionTemplate,llvm::SmallBitVector & Deduced) MarkDeducedTemplateParameters() argument
6733 hasDeducibleTemplateParameters(Sema & S,FunctionTemplateDecl * FunctionTemplate,QualType T) hasDeducibleTemplateParameters() argument
[all...]
H A DSemaOverload.cpp7656 AddTemplateOverloadCandidate(FunctionTemplateDecl * FunctionTemplate,DeclAccessPair FoundDecl,TemplateArgumentListInfo * ExplicitTemplateArgs,ArrayRef<Expr * > Args,OverloadCandidateSet & CandidateSet,bool SuppressUserConversions,bool PartialOverloading,bool AllowExplicit,ADLCallKind IsADLCandidate,OverloadCandidateParamOrder PO,bool AggregateCandidateDeduction) AddTemplateOverloadCandidate() argument
7737 CheckNonDependentConversions(FunctionTemplateDecl * FunctionTemplate,ArrayRef<QualType> ParamTypes,ArrayRef<Expr * > Args,OverloadCandidateSet & CandidateSet,ConversionSequenceList & Conversions,bool SuppressUserConversions,CXXRecordDecl * ActingContext,QualType ObjectType,Expr::Classification ObjectClassification,OverloadCandidateParamOrder PO) CheckNonDependentConversions() argument
8057 AddTemplateConversionCandidate(FunctionTemplateDecl * FunctionTemplate,DeclAccessPair FoundDecl,CXXRecordDecl * ActingDC,Expr * From,QualType ToType,OverloadCandidateSet & CandidateSet,bool AllowObjCConversionOnExplicit,bool AllowExplicit,bool AllowResultConversion) AddTemplateConversionCandidate() argument
12908 AddMatchingTemplateFunction(FunctionTemplateDecl * FunctionTemplate,const DeclAccessPair & CurAccessFunPair) AddMatchingTemplateFunction() argument
13028 if (FunctionTemplateDecl *FunctionTemplate FindAllFunctionsThatMatchTargetTypeExactly() local
13354 FunctionTemplateDecl *FunctionTemplate ResolveSingleFunctionTemplateSpecialization() local
[all...]
H A DSemaTemplateInstantiateDecl.cpp2093 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); VisitFunctionDecl() local
2460 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); VisitCXXMethodDecl() local
[all...]
H A DSemaTemplateInstantiate.cpp644 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,FunctionTemplateDecl * FunctionTemplate,ArrayRef<TemplateArgument> TemplateArgs,CodeSynthesisContext::SynthesisKind Kind,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument
H A DSemaDecl.cpp9676 FunctionTemplateDecl *FunctionTemplate = nullptr; ActOnFunctionDeclarator() local
[all...]
/llvm-project/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp648 TEST_F(TargetDeclTest, FunctionTemplate) { in TEST_F() argument
/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h1060 FunctionTemplateDecl *FunctionTemplate; global() member
H A DSema.h3269 static NameClassification FunctionTemplate(TemplateName Name) { FunctionTemplate() function
3376 FunctionTemplate, global() enumerator
12484 MarkDeducedTemplateParameters(const FunctionTemplateDecl * FunctionTemplate,llvm::SmallBitVector & Deduced) MarkDeducedTemplateParameters() argument
[all...]
/llvm-project/clang/test/Modules/
H A Dodr_hash.cpp3137 namespace FunctionTemplate { namespace
[all...]