[PATCH] D53076: [analyzer] Enhance ConditionBRVisitor to write out more information
Csaba Dabis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 25 07:41:33 PST 2018
Charusso updated this revision to Diff 175177.
Charusso marked 4 inline comments as done.
Charusso retitled this revision from "[analyzer] WIP: Enhance ConditionBRVisitor to write out more information" to "[analyzer] Enhance ConditionBRVisitor to write out more information".
Charusso edited the summary of this revision.
Charusso added a comment.
- Better approach to prevent duplicated report messages.
Side effects:
- Because we rely on constraint range information we measure the bounds with equality operators so lost precision, but now the style of the reports is identical.
- We create `Assuming...` pieces on unknown values where generic message has not shown up.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D53076/new/
https://reviews.llvm.org/D53076
Files:
include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
test/Analysis/Inputs/expected-plists/NewDelete-path-notes.cpp.plist
test/Analysis/Inputs/expected-plists/cxx-for-range.cpp.plist
test/Analysis/Inputs/expected-plists/edges-new.mm.plist
test/Analysis/Inputs/expected-plists/inline-plist.c.plist
test/Analysis/Inputs/expected-plists/malloc-plist.c.plist
test/Analysis/Inputs/expected-plists/plist-macros.cpp.plist
test/Analysis/Inputs/expected-plists/plist-output.m.plist
test/Analysis/MisusedMovedObject.cpp
test/Analysis/NewDelete-path-notes.cpp
test/Analysis/diagnostics/macros.cpp
test/Analysis/diagnostics/no-store-func-path-notes.c
test/Analysis/diagnostics/no-store-func-path-notes.cpp
test/Analysis/diagnostics/no-store-func-path-notes.m
test/Analysis/inline-plist.c
test/Analysis/loop-widening-notes.cpp
test/Analysis/osobject-retain-release.cpp
test/Analysis/virtualcall.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53076.175177.patch
Type: text/x-patch
Size: 123784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181125/57a4f02b/attachment-0001.bin>
More information about the cfe-commits
mailing list