mirror of
https://github.com/Z3Prover/z3
synced 2025-08-18 01:02:15 +00:00
remove level of indirection for context and ast_manager in smt_theory (#4253)
* remove level of indirection for context and ast_manager in smt_theory Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * add request by #4252 Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * move to def Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * int Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
17b8db95c1
commit
becf423c77
57 changed files with 750 additions and 1257 deletions
|
@ -199,21 +199,21 @@ namespace smt {
|
|||
}
|
||||
|
||||
public:
|
||||
theory_utvpi(ast_manager& m);
|
||||
theory_utvpi(context& ctx);
|
||||
|
||||
~theory_utvpi() override;
|
||||
|
||||
theory * mk_fresh(context * new_ctx) override;
|
||||
|
||||
char const * get_name() const override { return "utvpi-logic"; }
|
||||
|
||||
void init() override { init_zero(); }
|
||||
|
||||
/**
|
||||
\brief See comment in theory::mk_eq_atom
|
||||
*/
|
||||
app * mk_eq_atom(expr * lhs, expr * rhs) override { return a.mk_eq(lhs, rhs); }
|
||||
|
||||
void init(context * ctx) override;
|
||||
|
||||
bool internalize_atom(app * atom, bool gate_ctx) override;
|
||||
|
||||
bool internalize_term(app * term) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue