mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
remove default destructors
This commit is contained in:
parent
b170f10148
commit
3586b613f7
95 changed files with 25 additions and 259 deletions
|
@ -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()) {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -267,9 +267,6 @@ public:
|
|||
next();
|
||||
}
|
||||
|
||||
dlexer() {
|
||||
}
|
||||
|
||||
void set_stream(std::istream* s, char_reader* r) {
|
||||
m_input = s;
|
||||
m_reader = r;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -65,8 +65,6 @@ namespace datalog {
|
|||
*/
|
||||
mk_explanations(context & ctx);
|
||||
|
||||
~mk_explanations() override;
|
||||
|
||||
/**
|
||||
\brief Return explanation predicate that corresponds to \c orig_decl.
|
||||
*/
|
||||
|
|
|
@ -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)) {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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)) {
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue