3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-16 02:46:16 +00:00

Remove empty leaf destructors. (#6211)

This commit is contained in:
Bruce Mitchener 2022-07-30 16:07:03 +07:00 committed by GitHub
parent f7fbb78fc8
commit 5d0dea05aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
134 changed files with 10 additions and 322 deletions

View file

@ -1180,7 +1180,6 @@ namespace smt {
unsigned m_var_j;
public:
f_var(ast_manager& m, func_decl* f, unsigned i, unsigned j) : qinfo(m), m_f(f), m_arg_i(i), m_var_j(j) {}
~f_var() override {}
char const* get_kind() const override {
return "f_var";
@ -1261,7 +1260,6 @@ namespace smt {
f_var(m, f, i, j),
m_offset(offset, m) {
}
~f_var_plus_offset() override {}
char const* get_kind() const override {
return "f_var_plus_offset";
@ -1427,7 +1425,6 @@ namespace smt {
public:
select_var(ast_manager& m, app* s, unsigned i, unsigned j) :qinfo(m), m_array(m), m_select(s), m_arg_i(i), m_var_j(j) {}
~select_var() override {}
char const* get_kind() const override {
return "select_var";
@ -1497,8 +1494,6 @@ namespace smt {
std::swap(m_var_i, m_var_j);
}
~var_pair() override {}
bool is_equal(qinfo const* qi) const override {
if (qi->get_kind() != get_kind())
return false;
@ -1577,7 +1572,6 @@ namespace smt {
var_expr_pair(ast_manager& m, unsigned i, expr* t) :
qinfo(m),
m_var_i(i), m_t(t, m) {}
~var_expr_pair() override {}
bool is_equal(qinfo const* qi) const override {
if (qi->get_kind() != get_kind())