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

Aleksei Sidorin a.sidorin at samsung.com
Thu Aug 28 07:59:01 PDT 2014


Hi zaks.anna, jordan_rose, krememek,

Create one state for a range switch case instead of multiple.
This is an attempt to fix PR16833 (http://llvm.org/bugs/show_bug.cgi?id=16833).
Please tell me if I'm going in the right direction.

http://reviews.llvm.org/D5102

Files:
  include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h
  lib/StaticAnalyzer/Core/ExprEngine.cpp
  lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
  lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp
  lib/StaticAnalyzer/Core/SimpleConstraintManager.h
  test/Analysis/misc-ps.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5102.13036.patch
Type: text/x-patch
Size: 12713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140828/192e79c0/attachment.bin>


More information about the cfe-commits mailing list