mirror of
https://github.com/Z3Prover/z3
synced 2025-08-17 16:52: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
|
@ -62,7 +62,6 @@ namespace smt {
|
|||
|
||||
private:
|
||||
theory & m_owner;
|
||||
theory_arith_params & m_params;
|
||||
arith_util & m_util;
|
||||
|
||||
already_processed m_already_processed;
|
||||
|
@ -74,7 +73,7 @@ namespace smt {
|
|||
enode * get_enode(theory_var v) const { return m_owner.get_enode(v); }
|
||||
|
||||
public:
|
||||
arith_eq_adapter(theory & owner, theory_arith_params & params, arith_util & u):m_owner(owner), m_params(params), m_util(u) {}
|
||||
arith_eq_adapter(theory & owner, arith_util & u):m_owner(owner), m_util(u) {}
|
||||
void new_eq_eh(theory_var v1, theory_var v2);
|
||||
void new_diseq_eh(theory_var v1, theory_var v2);
|
||||
void reset_eh();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue