[clang] [clang][NFC] Don't track OpaqueValueExpr in bad conversion sequence (PR #238243)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 3 00:20:11 PST 2026
================
@@ -6210,12 +6208,9 @@ static ImplicitConversionSequence TryObjectArgumentInitialization(
ExplicitParameterType = Method->getFunctionObjectParameterReferenceType();
OpaqueValueExpr TmpExpr(Loc, FromType.getNonReferenceType(),
ValueKindFromClassification(FromClassification));
- ImplicitConversionSequence ICS = TryCopyInitialization(
- S, &TmpExpr, ExplicitParameterType, SuppressUserConversion,
- /*InOverloadResolution=*/true, false);
- if (ICS.isBad())
----------------
ojhunt wrote:
is there any other path to ICS.isBad() being true?
https://github.com/llvm/llvm-project/pull/238243
More information about the cfe-commits
mailing list