Files
clang-p2996/clang/lib/Sema/SemaExpr.cpp
Mészáros Gergely f3c7744579 [Clang][Sema] Fix -Whigher-precision-for-complex-division (#131477)
- Fix false positive when divisor is a real number.
- Fix false negative when divident is real, but divisor is complex.
- Fix false negative when due to promotion the division is performed in
higher precision than the divident.
- Fix false negative in divide and assign (`a /= b`).

Fixes: #131127

---------

Co-authored-by: Zahira Ammarguellat <zahira.ammarguellat@intel.com>
2025-04-16 08:02:42 +02:00

836 KiB