[clang] [analyzer] tryRearrange: don't "cancel out" symbol in BO_Add (PR #237160)

Arseniy Zaostrovnykh via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 30 07:50:43 PDT 2026


https://github.com/necto approved this pull request.

It is difficult to check completeness, but it seems to be fixing the bug.
In some bright future it would be great to have some test that systematically enumerates all possible expression tree (up to some depth) and runs some kind of evaluator or what not to check that all transformations are sound.

https://github.com/llvm/llvm-project/pull/237160


More information about the cfe-commits mailing list