================
@@ -1005,14 +1005,14 @@ class Sema;
 
     // An overload is a perfect match if the conversion
     // sequences for each argument are perfect.
-    bool isPerfectMatch(const ASTContext &Ctx) const {
+    bool isPerfectMatch(const ASTContext &Ctx, bool ForConversion) const {
----------------
erichkeane wrote:

Vastly prefer this take the `Kind`, then line 1015 describe why conversions are 
ok when CSK_InitByUserDefinedConversion.

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

Reply via email to