[PATCH] D129678: Tidy up handler-functions in SymbolicRangeInferrer
Denys Petrov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 13 11:46:38 PDT 2022
ASDenysPetrov created this revision.
ASDenysPetrov added reviewers: martong, steakhal, NoQ.
ASDenysPetrov added a project: clang.
Herald added a subscriber: rnkovacs.
Herald added a project: All.
ASDenysPetrov requested review of this revision.
Herald added a subscriber: cfe-commits.
Sorted some handler-functions into more appropriate visitor functions of the SymbolicRangeInferrer.
- Spread `getRangeForNegatedSub` body over several visitor functions: `VisitSymExpr`, `VisitSymIntExpr`, `VisitSymSymExpr`.
- Moved `getRangeForComparisonSymbol` from `infer` to `VisitSymSymExpr`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D129678
Files:
clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129678.444354.patch
Type: text/x-patch
Size: 7311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220713/03084bae/attachment.bin>
More information about the cfe-commits
mailing list