3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +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

@ -25,9 +25,6 @@ bind_variables::bind_variables(ast_manager & m):
m_vars(m),
m_pinned(m)
{}
bind_variables::~bind_variables() {
}
expr_ref bind_variables::operator()(expr* fml, bool is_forall) {
if (m_vars.empty()) {

View file

@ -40,7 +40,6 @@ class bind_variables {
expr_ref abstract(expr* fml, cache_t& cache, unsigned scope);
public:
bind_variables(ast_manager & m);
~bind_variables();
expr_ref operator()(expr* fml, bool is_forall);

View file

@ -267,9 +267,6 @@ public:
next();
}
dlexer() {
}
void set_stream(std::istream* s, char_reader* r) {
m_input = s;
m_reader = r;

View file

@ -150,8 +150,6 @@ namespace datalog {
m(rm.get_context().get_manager()),
m_base(nullptr) {
}
check_relation_plugin::~check_relation_plugin() {
}
check_relation& check_relation_plugin::get(relation_base& r) {
return dynamic_cast<check_relation&>(r);
}

View file

@ -89,7 +89,6 @@ namespace datalog {
unsigned_vector const& cols1, unsigned_vector const& cols2);
public:
check_relation_plugin(relation_manager& rm);
~check_relation_plugin() override;
void set_plugin(relation_plugin* p) { m_base = p; }
bool can_handle_signature(const relation_signature & s) override;

View file

@ -34,9 +34,6 @@ namespace datalog {
{
}
external_relation::~external_relation() {
}
void external_relation::mk_accessor(decl_kind k, func_decl_ref& fn, const relation_fact& f, bool destructive, expr_ref& res) const {
ast_manager& m = m_rel.get_manager();
family_id fid = get_plugin().get_family_id();

View file

@ -122,7 +122,6 @@ namespace datalog {
void mk_accessor(decl_kind k, func_decl_ref& fn, const relation_fact& f, bool destructive, expr_ref& res) const;
external_relation(external_relation_plugin & p, const relation_signature & s, expr* r);
~external_relation() override;
public:
external_relation_plugin & get_plugin() const;

View file

@ -631,9 +631,6 @@ namespace datalog {
);
}
mk_explanations::~mk_explanations() {
}
func_decl * mk_explanations::get_union_decl(context & ctx) {
ast_manager & m = ctx.get_manager();
sort_ref s(ctx.get_decl_util().mk_rule_sort(), m);

View file

@ -65,8 +65,6 @@ namespace datalog {
*/
mk_explanations(context & ctx);
~mk_explanations() override;
/**
\brief Return explanation predicate that corresponds to \c orig_decl.
*/

View file

@ -38,9 +38,6 @@ namespace datalog {
m_rewriter.updt_params(m_params);
}
mk_array_blast::~mk_array_blast() {
}
bool mk_array_blast::is_store_def(expr* e, expr*& x, expr*& y) {
if (m.is_eq(e, x, y)) {
if (!a.is_store(y)) {

View file

@ -64,8 +64,6 @@ namespace datalog {
\brief Create rule transformer that removes array stores and selects by ackermannization.
*/
mk_array_blast(context & ctx, unsigned priority);
~mk_array_blast() override;
rule_set * operator()(rule_set const & source) override;

View file

@ -149,9 +149,6 @@ namespace datalog {
m_mc(nullptr) {
}
mk_quantifier_abstraction::~mk_quantifier_abstraction() {
}
func_decl* mk_quantifier_abstraction::declare_pred(rule_set const& rules, rule_set& dst, func_decl* old_p) {
if (rules.is_output_predicate(old_p)) {

View file

@ -49,8 +49,6 @@ namespace datalog {
public:
mk_quantifier_abstraction(context & ctx, unsigned priority);
~mk_quantifier_abstraction() override;
rule_set * operator()(rule_set const & source) override;
};

View file

@ -41,9 +41,6 @@ namespace datalog {
m_cnst2var(m) {
}
mk_quantifier_instantiation::~mk_quantifier_instantiation() {
}
void mk_quantifier_instantiation::extract_quantifiers(rule& r, expr_ref_vector& conjs, quantifier_ref_vector& qs) {
conjs.reset();
qs.reset();

View file

@ -60,8 +60,6 @@ namespace datalog {
public:
mk_quantifier_instantiation(context & ctx, unsigned priority);
~mk_quantifier_instantiation() override;
rule_set * operator()(rule_set const & source) override;
};

View file

@ -110,9 +110,6 @@ namespace datalog {
m_eqs(m) {
}
mk_scale::~mk_scale() {
}
rule_set * mk_scale::operator()(rule_set const & source) {
if (!m_ctx.scale()) {
return nullptr;

View file

@ -42,7 +42,6 @@ namespace datalog {
app_ref mk_constraint(unsigned num_vars, app* q);
public:
mk_scale(context & ctx, unsigned priority = 33039);
~mk_scale() override;
rule_set * operator()(rule_set const & source) override;
};