[clang] [Sema] Compare canonical conversion function (PR #154158)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 23 20:38:39 PDT 2025


================
@@ -4404,14 +4404,19 @@ CompareImplicitConversionSequences(Sema &S, SourceLocation Loc,
     Result = CompareStandardConversionSequences(S, Loc,
                                                 ICS1.Standard, ICS2.Standard);
   else if (ICS1.isUserDefined()) {
+    const FunctionDecl *ConvFunc1 = ICS1.UserDefined.ConversionFunction;
----------------
shafik wrote:

So I think this code should have a comment considering how complex the issue this is fixing is.

https://github.com/llvm/llvm-project/pull/154158


More information about the cfe-commits mailing list