================ @@ -6229,7 +6231,37 @@ static ExprResult BuildConvertedConstantExpression(Sema &S, Expr *From, if (Result.isInvalid()) return Result; - // Check for a narrowing implicit conversion. + if (SCS->Second == ICK_Floating_Conversion) { ---------------- Sirraide wrote:
Is there a reason all of this is here instead of in `StandardConversionSequence::getNarrowingKind()`, where we seem to be already handling most of this? https://github.com/llvm/llvm-project/pull/90387 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits