================
@@ -1534,6 +1538,12 @@ static QualType handleFixedPointConversion(Sema &S, 
QualType LHSTy,
          "Special fixed point arithmetic operation conversions are only "
          "applied to ints or other fixed point types");
 
+  // If either type is BitInt, return an empty type to avoid crashing
+  // when GetFixedPointRank is called later.
----------------
erichkeane wrote:

Why was this necessarily if you're having `unsupportedTypeConversion` reject 
the conversion?  

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

Reply via email to