================
@@ -11874,7 +11874,7 @@ static void DiagnoseBadConversion(Sema &S,
OverloadCandidate *Cand,
!isa<CXXConstructorDecl>(Fn)) {
if (I == 0)
isObjectArgument = true;
- else if (!Fn->hasCXXExplicitFunctionObjectParameter())
+ else if (!cast<CXXMethodDecl>(Fn)->isExplicitObjectMemberFunction())
----------------
Fznamznon wrote:
Does `hasCXXExplicitFunctionObjectParameter` and
`isExplicitObjectMemberFunction` return a different thing? If yes, the naming
is confusing. If not, why do we have both?
https://github.com/llvm/llvm-project/pull/177783
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits