mirror of
https://github.com/Z3Prover/z3
synced 2025-08-20 18:20:22 +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
|
@ -223,7 +223,6 @@ namespace smt {
|
|||
void assert_bv2int_axiom(app* n);
|
||||
|
||||
protected:
|
||||
void init(context * ctx) override;
|
||||
theory_var mk_var(enode * n) override;
|
||||
bool internalize_atom(app * atom, bool gate_ctx) override;
|
||||
bool internalize_term(app * term) override;
|
||||
|
@ -254,7 +253,7 @@ namespace smt {
|
|||
|
||||
smt_params const& params() const;
|
||||
public:
|
||||
theory_bv(ast_manager & m, bit_blaster_params const & bb_params);
|
||||
theory_bv(context& ctx);
|
||||
~theory_bv() override;
|
||||
|
||||
theory * mk_fresh(context * new_ctx) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue