Created new SMT generic API.
Small changes to Z3ConstraintManager because of the new generic objects (SMTSort and SMTExpr) returned by SMTSolver.
Paths
| Differential D49495
[analyzer] Implemented SMT generic API ClosedPublic Authored by mikhail.ramalho on Jul 18 2018, 9:34 AM.
Details Summary Created new SMT generic API. Small changes to Z3ConstraintManager because of the new generic objects (SMTSort and SMTExpr) returned by SMTSolver.
Diff Detail Event Timelinemikhail.ramalho added a parent revision: D49551: [analyzer] Create generic SMT Expr class.Jul 19 2018, 9:17 AM Comment Actions Update API to handle shared pointer to SMTExprs/SMTSorts objects instead of the actual objects. mikhail.ramalho retitled this revision from [analyzer] [WIP] Implemented SMT generic API to [analyzer] Implemented SMT generic API.Jul 20 2018, 9:23 AM Comment Actions LGTM provided the semantics of the method in question is explained in comments here.
This revision is now accepted and ready to land.Jul 20 2018, 10:30 AM Comment Actions Create new method: virtual SMTExprRef newExprRef(const SMTExpr &E) const = 0; that creates and returns a shared pointer containing the SMTExpr object. It'll be useful in the future. Closed by commit rL337918: [analyzer] Implemented SMT generic API (authored by mramalho). · Explain WhyJul 25 2018, 5:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 156498 include/clang/StaticAnalyzer/Core/PathSensitive/SMTSolver.h
lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp
|
I'm quite confused about this method, is it only used in pure-z3-solving-mode?