[PATCH] D110357: [Analyzer] Extend ConstraintAssignor to handle remainder op

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 15 06:54:28 PDT 2021


martong updated this revision to Diff 379988.
martong added a comment.

- Remove the wrong inferrence of `a % b == 0 implies that a == 0` and related test cases.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110357/new/

https://reviews.llvm.org/D110357

Files:
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
  clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
  clang/test/Analysis/constraint-assignor.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110357.379988.patch
Type: text/x-patch
Size: 4897 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211015/eb2fb555/attachment-0001.bin>


More information about the cfe-commits mailing list