Home
last modified time | relevance | path

Searched refs:ConvTemplate (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Sema/
DSemaOverload.cpp3178 FunctionTemplateDecl *ConvTemplate; in IsUserDefinedConversion() local
3179 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>(D))) in IsUserDefinedConversion()
3180 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in IsUserDefinedConversion()
3185 if (ConvTemplate) in IsUserDefinedConversion()
3186 S.AddTemplateConversionCandidate(ConvTemplate, FoundDecl, in IsUserDefinedConversion()
4119 FunctionTemplateDecl *ConvTemplate in FindConversionForRefInit() local
4122 if (ConvTemplate) in FindConversionForRefInit()
4123 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in FindConversionForRefInit()
4139 if (!ConvTemplate && DeclType->isRValueReferenceType()) { in FindConversionForRefInit()
4146 if (!ConvTemplate && in FindConversionForRefInit()
[all …]
DSemaInit.cpp3892 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in TryRefInitWithConversionFunction() local
3894 if (ConvTemplate) in TryRefInitWithConversionFunction()
3895 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryRefInitWithConversionFunction()
3907 if (ConvTemplate) in TryRefInitWithConversionFunction()
3908 S.AddTemplateConversionCandidate(ConvTemplate, I.getPair(), in TryRefInitWithConversionFunction()
4523 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in TryUserDefinedConversion() local
4525 if (ConvTemplate) in TryUserDefinedConversion()
4526 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryUserDefinedConversion()
4531 if (ConvTemplate) in TryUserDefinedConversion()
4532 S.AddTemplateConversionCandidate(ConvTemplate, I.getPair(), in TryUserDefinedConversion()
DSemaLookup.cpp850 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect() local
851 if (!ConvTemplate) in LookupDirect()
859 R.addDecl(ConvTemplate); in LookupDirect()
878 = ConvTemplate->getTemplatedDecl()->getType()->getAs<FunctionProtoType>(); in LookupDirect()
893 if (R.getSema().DeduceTemplateArguments(ConvTemplate, nullptr, ExpectedType, in LookupDirect()