Now, instead of passing the reference to a shared_ptr, we pass the shared_ptr instead.
I've also removed the check if Z3 is present in CreateZ3ConstraintManager as this function already calls CreateZ3Solver that performs the exactly same check.
Differential D54976
[analyzer] Got rid of the `Z3ConstraintManager` class mikhail.ramalho on Nov 27 2018, 2:33 PM. Authored by
Details Now, instead of passing the reference to a shared_ptr, we pass the shared_ptr instead. I've also removed the check if Z3 is present in CreateZ3ConstraintManager as this function already calls CreateZ3Solver that performs the exactly same check.
Diff Detail Event TimelineComment Actions Moved CreateZ3Solver to SMTConstraintManager. In the future, CreateZ3Solver should be renamed CreateSMTSolver to handle all backends. Comment Actions Makes perfect sense to me.
|
Why are we even passing StMgr into this callback when it can be easily retrieved from Eng? :)