[PATCH] D103096: [analyzer] Implement cast for ranges of symbolic integers.
Denys Petrov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 6 03:46:40 PDT 2021
ASDenysPetrov updated this revision to Diff 356668.
ASDenysPetrov added a comment.
Splitted this revision and moved `SValBuilder` related changes to separate patch D105340 <https://reviews.llvm.org/D105340>. Added detailed comments. Made `NominalTypeList` //static// and as a result removed the forwarding across the functions. Spread `handleSymbolCast` logic to three methods: `modifySymbolAndConstraints`, `updateExistingConstraints`, `getProperSymbolAndConstraint`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103096/new/
https://reviews.llvm.org/D103096
Files:
clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h
clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
clang/test/Analysis/symbol-integral-cast.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103096.356668.patch
Type: text/x-patch
Size: 30930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210706/2431f875/attachment-0001.bin>
More information about the cfe-commits
mailing list