================
@@ -2192,6 +2194,9 @@ static bool IsStandardConversion(Sema &S, Expr* From,
QualType ToType,
From->isIntegerConstantExpr(S.getASTContext())) {
SCS.Second = ICK_Compatible_Conversion;
FromType = ToType;
+ } else if (ToType->isFixedPointType() || FromType->isFixedPointType()) {
+ SCS.Second = ICK_Fixed_Point_Conversion;
----------------
rjmccall wrote:
I guess there's not really any value in breaking this down here? Seems
reasonable.
https://github.com/llvm/llvm-project/pull/68344
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits