mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +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
|
@ -989,6 +989,7 @@ namespace nlarith {
|
|||
imp& m_imp;
|
||||
public:
|
||||
isubst(imp& i) : m_imp(i) {}
|
||||
virtual ~isubst() = default;
|
||||
virtual void mk_lt(poly const& p, app_ref& r) = 0;
|
||||
virtual void mk_eq(poly const& p, app_ref& r) = 0;
|
||||
virtual void mk_le(poly const& p, app_ref& r) {
|
||||
|
|
|
@ -34,6 +34,7 @@ namespace qe {
|
|||
|
||||
class i_nnf_atom {
|
||||
public:
|
||||
virtual ~i_nnf_atom() = default;
|
||||
virtual void operator()(expr* e, bool pol, expr_ref& result) = 0;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue