================
@@ -1287,6 +1287,10 @@ static QualType handleFloatConversion(Sema &S,
ExprResult &LHS,
/// Helper function of UsualArithmeticConversions().
static bool unsupportedTypeConversion(const Sema &S, QualType LHSType,
QualType RHSType) {
+ if ((LHSType->isFixedPointType() && RHSType->isBitIntType()) ||
----------------
erichkeane wrote:
Actually, the more I look at this, the more I think this is the wrong place for
this fix. The purpose of this function is to check for floating point
conversions, and this is difinitively NOT floats, we should probably move this
check elsewhere in this call chain.
https://github.com/llvm/llvm-project/pull/199912
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits