================
@@ -12797,6 +12797,22 @@ static void CheckCommaOperand(
     S.CheckImplicitConversion(E, T, CC);
 }
 
+static Expr *IgnoreExplicitCastForImplicitConversionCheck(ExplicitCastExpr *E) 
{
----------------
Sirraide wrote:

I’d honestly just inline this function into the one place it’s used because it 
makes it a big clearer what’s going on; can you also add a comment that this is 
specifically used to suppress `-Wdouble-promotion`.

https://github.com/llvm/llvm-project/pull/159992
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to