[PATCH] D124658: [analyzer] Canonicalize SymIntExpr so the RHS is positive when possible
Tomasz KamiĆski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 6 11:38:57 PDT 2022
tomasz-kaminski-sonarsource updated this revision to Diff 427693.
tomasz-kaminski-sonarsource added a comment.
I have removed the assertions and updated the code to handle both extensions of reductions of bitwith from RHS to ResultType.
Expanded test, to cover the above scenarios.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124658/new/
https://reviews.llvm.org/D124658
Files:
clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
clang/test/Analysis/additive-op-on-sym-int-expr.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124658.427693.patch
Type: text/x-patch
Size: 9139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220506/9d3e5783/attachment-0001.bin>
More information about the cfe-commits
mailing list