================
@@ -10726,7 +10726,7 @@ static void DetectPrecisionLossInComplexDivision(Sema 
&S, QualType DivisorTy,
   if (!CT)
     return;
 
-  QualType ElementType = CT->getElementType();
+  QualType ElementType = CT->getElementType().getCanonicalType();
----------------
efriedma-quic wrote:

Should we just do this in GetHigherPrecisionFPType()?

I guess it doesn't matter that much either way, since it only has two callers.

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

Reply via email to