mirror of
https://github.com/Z3Prover/z3
synced 2025-08-21 10:41:35 +00:00
Add and fix a few general compiler warnings. (#5628)
* rewriter: fix unused variable warnings * cmake: make missing non-virtual dtors error * treewide: add missing virtual destructors * cmake: add a few more checks * api: add missing virtual destructor to user_propagator_base * examples: compile cpp example with compiler warnings * model: fix unused variable warnings * rewriter: fix logical-op-parentheses warnings * sat: fix unused variable warnings * smt: fix unused variable warnings
This commit is contained in:
parent
1d45a33163
commit
96671cfc73
39 changed files with 68 additions and 9 deletions
|
@ -33,6 +33,7 @@ struct push_app_ite_cfg : public default_rewriter_cfg {
|
|||
virtual bool is_target(func_decl * decl, unsigned num_args, expr * const * args);
|
||||
br_status reduce_app(func_decl * f, unsigned num, expr * const * args, expr_ref & result, proof_ref & result_pr);
|
||||
push_app_ite_cfg(ast_manager& m): m(m), m_conservative(true) {}
|
||||
virtual ~push_app_ite_cfg() = default;
|
||||
void set_conservative(bool c) { m_conservative = c; }
|
||||
bool rewrite_patterns() const { return false; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue