[PATCH] D53076: [analyzer] Enhance ConditionBRVisitor to write out more information
Csaba Dabis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 30 11:16:22 PST 2019
Charusso updated this revision to Diff 184329.
Charusso marked 19 inline comments as done.
Charusso edited the summary of this revision.
Charusso added a comment.
- Better way to measure if the value is known.
- Moved extra `Assuming...` pieces into a different patch (D57410 <https://reviews.llvm.org/D57410>).
- New generic assumptions created on known `MemberExprs` and entire conditions.
- Side effect: `ninja check-clang-analyzer-z3` passes without the error mentioned in D54811 <https://reviews.llvm.org/D54811>. ("Like magic and unicorns?")
TODO list for upcoming patches:
- Removed bounds checking with `RangeSets`.
- Removed `bool` value support.
- Removed `MemberExpr` value support.
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/model-file.cpp.plist
test/Analysis/Inputs/expected-plists/objc-radar17039661.m.plist
test/Analysis/Inputs/expected-plists/plist-macros-with-expansion.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/retain-release.m.objc.plist
test/Analysis/Inputs/expected-plists/retain-release.m.objcpp.plist
test/Analysis/Inputs/expected-plists/unix-fns.c.plist
test/Analysis/NewDelete-path-notes.cpp
test/Analysis/diagnostics/dtors.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/osobject-retain-release.cpp
test/Analysis/uninit-vals.m
test/Analysis/use-after-move.cpp
test/Analysis/virtualcall.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53076.184329.patch
Type: text/x-patch
Size: 154174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190130/ffd53391/attachment-0001.bin>
More information about the cfe-commits
mailing list