[PATCH] D53076: [analyzer] Enhance ConditionBRVisitor to write out more information

Csaba Dabis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 20 04:54:47 PST 2018


Charusso updated this revision to Diff 174750.
Charusso edited the summary of this revision.
Charusso added a comment.

- Implemented a 'look forward' feature to see if the constraint changed.
- Removed known value printing.
- Removed 'Assuming...' pieces where the condition is known to be true.
- Side effect: too many generic assumption message.


https://reviews.llvm.org/D53076

Files:
  include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
  lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  test/Analysis/Inputs/expected-plists/cxx-for-range.cpp.plist
  test/Analysis/Inputs/expected-plists/edges-new.mm.plist
  test/Analysis/Inputs/expected-plists/malloc-plist.c.plist
  test/Analysis/Inputs/expected-plists/model-file.cpp.plist
  test/Analysis/Inputs/expected-plists/plist-macros.cpp.plist
  test/Analysis/Inputs/expected-plists/plist-output.m.plist
  test/Analysis/Inputs/expected-plists/unix-fns.c.plist
  test/Analysis/MisusedMovedObject.cpp
  test/Analysis/diagnostics/Inputs/expected-plists/undef-value-param.m.plist
  test/Analysis/diagnostics/macros.cpp
  test/Analysis/diagnostics/undef-value-param.m
  test/Analysis/new-ctor-malloc.cpp
  test/Analysis/objc-radar17039661.m
  test/Analysis/uninit-vals.m
  test/Analysis/virtualcall.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53076.174750.patch
Type: text/x-patch
Size: 137564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181120/66b5e3dc/attachment-0001.bin>


More information about the cfe-commits mailing list