[PATCH] D5102: [analyzer][Bugfix/improvement] Fix for PR16833

Aleksei Sidorin via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 17 06:25:37 PDT 2015


a.sidorin updated this revision to Diff 32293.
a.sidorin added a comment.

- Fix review notes
- Add some more tests
- Add a fix and a test for incorrect pruning of trivially unreachable case statements in CFG for SwitchStmt (accidentially found while writing a test).


http://reviews.llvm.org/D5102

Files:
  include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h
  include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
  lib/Analysis/CFG.cpp
  lib/StaticAnalyzer/Core/ExprEngine.cpp
  lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
  lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp
  lib/StaticAnalyzer/Core/SimpleConstraintManager.h
  test/Analysis/switch-case.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5102.32293.patch
Type: text/x-patch
Size: 32523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150817/85ed2c9a/attachment-0001.bin>


More information about the cfe-commits mailing list