[all-commits] [llvm/llvm-project] 82f76c: [analyzer][NFC] Tidy up handler-functions in Symbo...
Denys Petrov via All-commits
all-commits at lists.llvm.org
Fri Jul 15 09:25:15 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 82f76c04774fbeb2313b84932afac478f010c8d0
https://github.com/llvm/llvm-project/commit/82f76c04774fbeb2313b84932afac478f010c8d0
Author: Denys Petrov <dpetrov at accesssoftek.com>
Date: 2022-07-15 (Fri, 15 Jul 2022)
Changed paths:
M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
Log Message:
-----------
[analyzer][NFC] Tidy up handler-functions in SymbolicRangeInferrer
Summary: 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`.
Differential Revision: https://reviews.llvm.org/D129678
More information about the All-commits
mailing list