================ @@ -448,11 +453,12 @@ class Sema; #endif return true; } - if (!C.hasSameType(getFromType(), getToType(2))) - return false; if (BindsToRvalue && IsLvalueReference) return false; - return true; + if (IsImplicitObjectArgumentQualificationConversion) { ---------------- erichkeane wrote:
Nit: No curleys here. https://github.com/llvm/llvm-project/pull/148613 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits