[PATCH] D67079: [analyzer] CastValueChecker: Model inheritance
Csaba Dabis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 30 01:46:11 PDT 2019
Charusso updated this revision to Diff 222370.
Charusso marked 2 inline comments as done.
Charusso added a comment.
- When we have no information whether the cast succeeds or not we assume both.
- `CastVisitor` is the new facility which decides whether the assumptions are appropriate.
- The math is still WIP.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67079/new/
https://reviews.llvm.org/D67079
Files:
clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicCastInfo.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h
clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
clang/lib/StaticAnalyzer/Core/BugReporter.cpp
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
clang/lib/StaticAnalyzer/Core/DynamicType.cpp
clang/test/Analysis/cast-value-hierarchy-failures-set.cpp
clang/test/Analysis/cast-value-hierarchy-fp-suppression.cpp
clang/test/Analysis/cast-value-hierarchy-succeeds.cpp
clang/test/Analysis/cast-value-hierarchy.cpp
clang/test/Analysis/cast-value-notes.cpp
clang/test/Analysis/cast-value-state-dump.cpp
clang/test/Analysis/expr-inspection.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67079.222370.patch
Type: text/x-patch
Size: 43931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190930/5ca19644/attachment-0001.bin>
More information about the cfe-commits
mailing list