3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-04 23:13:57 +00:00

remove default destructors

This commit is contained in:
Nuno Lopes 2024-10-02 22:20:12 +01:00
parent b170f10148
commit 3586b613f7
95 changed files with 25 additions and 259 deletions

View file

@ -353,9 +353,6 @@ namespace sat {
DEBUG_CODE(verify_unsat_stack(););
}
local_search::local_search() {
}
void local_search::reinit(solver& s, bool_vector const& phase) {
import(s, true);
for (unsigned i = phase.size(); i-- > 0; )
@ -419,10 +416,6 @@ namespace sat {
if (_init)
init();
}
local_search::~local_search() {
}
lbool local_search::check() {
return check(0, nullptr, nullptr);

View file

@ -227,10 +227,6 @@ namespace sat {
unsigned num_vars() const { return m_vars.size() - 1; } // var index from 1 to num_vars
public:
local_search();
~local_search() override;
reslimit& rlimit() override { return m_limit; }

View file

@ -23,13 +23,6 @@ Revision History:
namespace sat {
model_converter::model_converter(): m_exposed_lim(0), m_solver(nullptr) {
}
model_converter::~model_converter() {
}
model_converter& model_converter::operator=(model_converter const& other) {
copy(other);
return *this;

View file

@ -79,9 +79,9 @@ namespace sat {
};
private:
vector<entry> m_entries; // entries accumulated during SAT search
unsigned m_exposed_lim; // last entry that was exposed to model converter.
unsigned m_exposed_lim = 0; // last entry that was exposed to model converter.
bool_vector m_mark; // literals that are used in asserted clauses.
solver const* m_solver;
solver const* m_solver = nullptr;
elim_stackv m_elim_stack;
void process_stack(model & m, literal_vector const& clause, elim_stackv const& stack) const;
@ -95,8 +95,6 @@ namespace sat {
void add_elim_stack(entry & e);
public:
model_converter();
~model_converter();
void set_solver(solver const* s) { m_solver = s; }
void operator()(model & m) const;
model_converter& operator=(model_converter const& other);

View file

@ -296,9 +296,6 @@ namespace euf {
add_plugin(alloc(bv::theory_checker, m));
}
theory_checker::~theory_checker() {
}
void theory_checker::add_plugin(theory_checker_plugin* p) {
m_plugins.push_back(p);
p->register_plugins(*this);

View file

@ -45,7 +45,6 @@ namespace euf {
void add_plugin(theory_checker_plugin* p);
public:
theory_checker(ast_manager& m);
~theory_checker();
void register_plugin(symbol const& rule, theory_checker_plugin*);
bool check(expr* jst);
expr_ref_vector clause(expr* jst);

View file

@ -2000,9 +2000,6 @@ namespace q {
m_args.resize(INIT_ARGS_SIZE);
}
~interpreter() {
}
void init(code_tree * t) {
TRACE("mam_bug", tout << "preparing to match tree:\n" << *t << "\n";);
m_registers.reserve(t->get_num_regs(), nullptr);

View file

@ -32,9 +32,6 @@ namespace specrel {
ctx.get_egraph().add_plugin(alloc(euf::specrel_plugin, ctx.get_egraph()));
}
solver::~solver() {
}
void solver::asserted(sat::literal l) {
}

View file

@ -39,7 +39,6 @@ namespace specrel {
public:
solver(euf::solver& ctx, theory_id id);
~solver() override;
bool is_external(bool_var v) override { return false; }
void get_antecedents(literal l, sat::ext_justification_idx idx, literal_vector& r, bool probing) override {}