Searched refs:ConvTemplate (Results 1 – 3 of 3) sorted by relevance
3209 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in TryRefInitWithConversionFunction() local3211 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() local3765 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()
686 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect() local687 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()
3057 FunctionTemplateDecl *ConvTemplate; in IsUserDefinedConversion() local3058 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() local3956 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 …]