Lines Matching refs:FunctionTemplateDecl
915 if (!isa<FunctionTemplateDecl>(OldD) && in CheckOverload()
954 FunctionTemplateDecl *OldTemplate = Old->getDescribedFunctionTemplate(); in IsOverload()
955 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate(); in IsOverload()
2926 FunctionTemplateDecl *ConstructorTmpl in IsInitializerListConstructorConversion()
2927 = dyn_cast<FunctionTemplateDecl>(D); in IsInitializerListConstructorConversion()
3062 FunctionTemplateDecl *ConstructorTmpl in IsUserDefinedConversion()
3063 = dyn_cast<FunctionTemplateDecl>(D); in IsUserDefinedConversion()
3120 FunctionTemplateDecl *ConvTemplate; in IsUserDefinedConversion()
3121 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>(D))) in IsUserDefinedConversion()
4061 FunctionTemplateDecl *ConvTemplate in FindConversionForRefInit()
4062 = dyn_cast<FunctionTemplateDecl>(D); in FindConversionForRefInit()
5320 FunctionTemplateDecl *ConvTemplate; in collectViableConversionCandidates()
5321 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>(D))) in collectViableConversionCandidates()
5419 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in PerformContextualImplicitConversion()
5922 FunctionTemplateDecl *FunTmpl = cast<FunctionTemplateDecl>(D); in AddFunctionCandidates()
5955 if (FunctionTemplateDecl *TD = dyn_cast<FunctionTemplateDecl>(Decl)) { in AddMethodCandidate()
6105 Sema::AddMethodTemplateCandidate(FunctionTemplateDecl *MethodTmpl, in AddMethodTemplateCandidate()
6159 Sema::AddTemplateOverloadCandidate(FunctionTemplateDecl *FunctionTemplate, in AddTemplateOverloadCandidate()
6416 Sema::AddTemplateConversionCandidate(FunctionTemplateDecl *FunctionTemplate, in AddTemplateConversionCandidate()
6953 if (isa<FunctionTemplateDecl>(D)) in AddTypesConvertedFrom()
8326 if (FunctionTemplateDecl *FunTmpl = Cand->Function->getPrimaryTemplate()) in AddArgumentDependentLookupCandidates()
8341 AddTemplateOverloadCandidate(cast<FunctionTemplateDecl>(*I), in AddArgumentDependentLookupCandidates()
8443 if (FunctionTemplateDecl *BetterTemplate in isBetterOverloadCandidate()
8572 if (FunctionTemplateDecl *FunTmpl = Fn->getPrimaryTemplate()) { in ClassifyOverloadCandidate()
8649 if (FunctionTemplateDecl *FunTmpl = in NoteAllOverloadCandidates()
8650 dyn_cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
9933 bool AddMatchingTemplateFunction(FunctionTemplateDecl* FunctionTemplate, in AddMatchingTemplateFunction()
10035 if (FunctionTemplateDecl *FunctionTemplate in FindAllFunctionsThatMatchTargetTypeExactly()
10036 = dyn_cast<FunctionTemplateDecl>(Fn)) { in FindAllFunctionsThatMatchTargetTypeExactly()
10262 FunctionTemplateDecl *FunctionTemplate in ResolveSingleFunctionTemplateSpecialization()
10263 = cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()); in ResolveSingleFunctionTemplateSpecialization()
10418 if (FunctionTemplateDecl *FuncTemplate in AddOverloadedCallCandidate()
10419 = dyn_cast<FunctionTemplateDecl>(Callee)) { in AddOverloadedCallCandidate()
10879 (Functions.size() == 1 && isa<FunctionTemplateDecl>(*Functions.begin())); in IsOverloaded()
11659 AddMethodTemplateCandidate(cast<FunctionTemplateDecl>(Func), in BuildCallToMemberFunction()
11871 if (isa<FunctionTemplateDecl>(D)) in BuildCallToObjectOfClassType()