[PATCH] D103096: [analyzer] Implement cast for ranges of symbolic integers.
Valeriy Savchenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 15 09:15:58 PDT 2021
vsavchenko added inline comments.
================
Comment at: clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1908-1912
+ // Handle SymbolCast before actual assignment.
+ std::tie(Sym, NewConstraint) =
+ modifySymbolAndConstraints(Sym, NewConstraint);
+ if (!State)
+ return nullptr;
----------------
That's not using `ConstraintAssignor`, you simply put your implementation in here. That won't do!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103096/new/
https://reviews.llvm.org/D103096
More information about the cfe-commits
mailing list