Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp3523 FunctionTemplateDecl *ConvTemplate; in IsUserDefinedConversion() local
3524 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>(D))) in IsUserDefinedConversion()
3525 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in IsUserDefinedConversion()
3529 if (ConvTemplate) in IsUserDefinedConversion()
3531 ConvTemplate, FoundDecl, ActingContext, From, ToType, in IsUserDefinedConversion()
4624 FunctionTemplateDecl *ConvTemplate in FindConversionForRefInit() local
4627 if (ConvTemplate) in FindConversionForRefInit()
4628 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in FindConversionForRefInit()
4635 if (!ConvTemplate && DeclType->isRValueReferenceType()) { in FindConversionForRefInit()
4642 if (!ConvTemplate && in FindConversionForRefInit()
[all …]
DSemaInit.cpp3978 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in ResolveConstructorOverload() local
3980 if (ConvTemplate) in ResolveConstructorOverload()
3981 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in ResolveConstructorOverload()
3985 if (ConvTemplate) in ResolveConstructorOverload()
3987 ConvTemplate, I.getPair(), ActingDC, Initializer, DestType, in ResolveConstructorOverload()
4563 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in TryRefInitWithConversionFunction() local
4565 if (ConvTemplate) in TryRefInitWithConversionFunction()
4566 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryRefInitWithConversionFunction()
4578 if (ConvTemplate) in TryRefInitWithConversionFunction()
4580 ConvTemplate, I.getPair(), ActingDC, Initializer, DestType, in TryRefInitWithConversionFunction()
[all …]
DSemaLookup.cpp1092 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect() local
1093 if (!ConvTemplate) in LookupDirect()
1101 R.addDecl(ConvTemplate); in LookupDirect()
1120 = ConvTemplate->getTemplatedDecl()->getType()->getAs<FunctionProtoType>(); in LookupDirect()
1135 if (R.getSema().DeduceTemplateArguments(ConvTemplate, nullptr, ExpectedType, in LookupDirect()
/external/clang/lib/Sema/
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()