================
@@ -7757,7 +7762,9 @@ void Sema::AddMethodCandidate(
   Candidate.Viable = true;
 
   unsigned FirstConvIdx = PO == OverloadCandidateParamOrder::Reversed ? 1 : 0;
-  if (ObjectType.isNull())
+  if (IgnoreExplicitObject)
+    ;
----------------
AaronBallman wrote:

How bad is it to turn this into `if (!IgnoreExplicitObjec)` and wrap the other 
`else if` cases? I'm not keen on an empty if statement body.

https://github.com/llvm/llvm-project/pull/147046
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to