Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaInit.cpp3209 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in TryRefInitWithConversionFunction() local
3211 if (ConvTemplate) in TryRefInitWithConversionFunction()
3212 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryRefInitWithConversionFunction()
3224 if (ConvTemplate) in TryRefInitWithConversionFunction()
3225 S.AddTemplateConversionCandidate(ConvTemplate, I.getPair(), in TryRefInitWithConversionFunction()
3763 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in TryUserDefinedConversion() local
3765 if (ConvTemplate) in TryUserDefinedConversion()
3766 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryUserDefinedConversion()
3771 if (ConvTemplate) in TryUserDefinedConversion()
3772 S.AddTemplateConversionCandidate(ConvTemplate, I.getPair(), in TryUserDefinedConversion()
DSemaLookup.cpp686 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect() local
687 if (!ConvTemplate) in LookupDirect()
695 R.addDecl(ConvTemplate); in LookupDirect()
714 = ConvTemplate->getTemplatedDecl()->getType()->getAs<FunctionProtoType>(); in LookupDirect()
730 if (R.getSema().DeduceTemplateArguments(ConvTemplate, 0, ExpectedType, in LookupDirect()
DSemaOverload.cpp3057 FunctionTemplateDecl *ConvTemplate; in IsUserDefinedConversion() local
3058 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>(D))) in IsUserDefinedConversion()
3059 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in IsUserDefinedConversion()
3064 if (ConvTemplate) in IsUserDefinedConversion()
3065 S.AddTemplateConversionCandidate(ConvTemplate, FoundDecl, in IsUserDefinedConversion()
3953 FunctionTemplateDecl *ConvTemplate in FindConversionForRefInit() local
3956 if (ConvTemplate) in FindConversionForRefInit()
3957 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in FindConversionForRefInit()
3973 if (!ConvTemplate && DeclType->isRValueReferenceType()) { in FindConversionForRefInit()
3980 if (!ConvTemplate && in FindConversionForRefInit()
[all …]