[PATCH] D103314: [Analyzer][solver] Simplify existing constraints when a new constraint is added
Valeriy Savchenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 28 07:31:41 PDT 2021
vsavchenko added inline comments.
================
Comment at: clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1561
+ return nullptr;
+
+ ConstraintMap CM = getConstraintMap(State);
----------------
Also I think we can introduce a simple, but efficient optimization of kicking off the simplification process only when `Constraint` is a constant.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103314/new/
https://reviews.llvm.org/D103314
More information about the cfe-commits
mailing list