mirror of
https://github.com/Z3Prover/z3
synced 2025-11-03 13:07:53 +00:00
remove unneeded constructors (last round)
This commit is contained in:
parent
44ec259c4c
commit
bb26f219fe
37 changed files with 65 additions and 276 deletions
|
|
@ -442,10 +442,6 @@ derivation::premise::premise (pred_transformer &pt, unsigned oidx,
|
|||
m_ovars.push_back(m.mk_const(sm.n2o(v->get_decl(), m_oidx)));
|
||||
}
|
||||
|
||||
derivation::premise::premise (const derivation::premise &p) :
|
||||
m_pt (p.m_pt), m_oidx (p.m_oidx), m_summary (p.m_summary), m_must (p.m_must),
|
||||
m_ovars (p.m_ovars) {}
|
||||
|
||||
/// \brief Updated the summary.
|
||||
/// The new summary is over n-variables.
|
||||
void derivation::premise::set_summary (expr * summary, bool must,
|
||||
|
|
|
|||
|
|
@ -756,7 +756,6 @@ class derivation {
|
|||
public:
|
||||
premise (pred_transformer &pt, unsigned oidx, expr *summary, bool must,
|
||||
const ptr_vector<app> *aux_vars = nullptr);
|
||||
premise (const premise &p);
|
||||
|
||||
bool is_must() {return m_must;}
|
||||
expr * get_summary() {return m_summary.get ();}
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ struct relation_info {
|
|||
expr_ref m_body;
|
||||
relation_info(ast_manager& m, func_decl* pred, ptr_vector<func_decl> const& vars, expr* b):
|
||||
m_pred(pred, m), m_vars(m, vars.size(), vars.c_ptr()), m_body(b, m) {}
|
||||
relation_info(relation_info const& other): m_pred(other.m_pred), m_vars(other.m_vars), m_body(other.m_body) {}
|
||||
};
|
||||
|
||||
class unknown_exception {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue