[PATCH] D32642: [Analyzer] Iterator Checker - Part 2: Increment, decrement operators and ahead-of-begin checks

Balogh, Ádám via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 23 02:07:05 PDT 2017


baloghadamsoftware added a comment.

> I'm sure that simplification `(($x + N) + M) ~> ($x + (M + N))` is already working in `SValBuilder`.

No, it is unfortunately not working: I tried to increase `${conj_X}` by `1`, then again by `1`, and I got symbolic expression `(${conj_X}+1)+1)`.


https://reviews.llvm.org/D32642





More information about the cfe-commits mailing list