=?utf-8?q?Mészáros?= Gergely <maetv...@gmail.com>,Gergely Meszaros
 <gergely.mesza...@intel.com>,Gergely Meszaros <gergely.mesza...@intel.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/131...@github.com>


================
@@ -10685,6 +10724,7 @@ QualType Sema::CheckMultiplyDivideOperands(ExprResult 
&LHS, ExprResult &RHS,
   if (compType.isNull() || !compType->isArithmeticType())
     return InvalidOperands(Loc, LHS, RHS);
   if (IsDiv) {
+    DetectPrecisionLossInComplexDivision(*this, RHS.get()->getType(), Loc);
----------------
zahiraam wrote:

Ok now I am convinced, the various conversions would have been done by then. 
Yes adding another test that shows no warning for these cases would be great.

https://github.com/llvm/llvm-project/pull/131477
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to