Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaOverload.cpp3231 FunctionTemplateDecl *ConvTemplate; in IsUserDefinedConversion() local
3232 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>(D))) in IsUserDefinedConversion()
3233 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in IsUserDefinedConversion()
3238 if (ConvTemplate) in IsUserDefinedConversion()
3239 S.AddTemplateConversionCandidate(ConvTemplate, FoundDecl, in IsUserDefinedConversion()
4176 FunctionTemplateDecl *ConvTemplate in FindConversionForRefInit() local
4179 if (ConvTemplate) in FindConversionForRefInit()
4180 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in FindConversionForRefInit()
4196 if (!ConvTemplate && DeclType->isRValueReferenceType()) { in FindConversionForRefInit()
4203 if (!ConvTemplate && in FindConversionForRefInit()
[all …]
DSemaInit.cpp4020 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in TryRefInitWithConversionFunction() local
4022 if (ConvTemplate) in TryRefInitWithConversionFunction()
4023 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryRefInitWithConversionFunction()
4035 if (ConvTemplate) in TryRefInitWithConversionFunction()
4036 S.AddTemplateConversionCandidate(ConvTemplate, I.getPair(), in TryRefInitWithConversionFunction()
4641 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in TryUserDefinedConversion() local
4643 if (ConvTemplate) in TryUserDefinedConversion()
4644 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryUserDefinedConversion()
4649 if (ConvTemplate) in TryUserDefinedConversion()
4650 S.AddTemplateConversionCandidate(ConvTemplate, I.getPair(), in TryUserDefinedConversion()
DSemaLookup.cpp865 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect() local
866 if (!ConvTemplate) in LookupDirect()
874 R.addDecl(ConvTemplate); in LookupDirect()
893 = ConvTemplate->getTemplatedDecl()->getType()->getAs<FunctionProtoType>(); in LookupDirect()
908 if (R.getSema().DeduceTemplateArguments(ConvTemplate, nullptr, ExpectedType, in LookupDirect()