[clang] [Sema] Compare canonical conversion function (PR #154158)
Jonas Hahnfeld via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 19 07:21:34 PDT 2025
================
@@ -4404,14 +4404,19 @@ CompareImplicitConversionSequences(Sema &S, SourceLocation Loc,
Result = CompareStandardConversionSequences(S, Loc,
ICS1.Standard, ICS2.Standard);
else if (ICS1.isUserDefined()) {
+ auto ConvFunc1 = ICS1.UserDefined.ConversionFunction;
----------------
hahnjo wrote:
The LLVM Coding Standards argue for `auto` in "other places where the type is already obvious from the context." I thought that's the case here...
https://github.com/llvm/llvm-project/pull/154158
More information about the cfe-commits
mailing list