mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
fixed some warnings reported by clang++
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
ed52dce9b0
commit
c1587dc37d
|
@ -134,6 +134,10 @@ public:
|
|||
virtual bool reduce_distinct(unsigned num_args, expr * const * args, expr_ref & result);
|
||||
|
||||
virtual bool reduce(func_decl * f, unsigned num_args, rational const * mults, expr * const * args, expr_ref & result);
|
||||
virtual bool reduce(func_decl * f, unsigned num_args, expr * const * args, expr_ref & result) {
|
||||
return simplifier_plugin::reduce(f, num_args, args, result);
|
||||
}
|
||||
|
||||
|
||||
expr * get_monomial_body(expr * m);
|
||||
int get_monomial_body_order(expr * m);
|
||||
|
|
|
@ -181,6 +181,7 @@ class paccessor_decl : public pdecl {
|
|||
ptype const & get_type() const { return m_type; }
|
||||
virtual ~paccessor_decl() {}
|
||||
public:
|
||||
virtual void display(std::ostream & out) const { pdecl::display(out); }
|
||||
void display(std::ostream & out, pdatatype_decl const * const * dts) const;
|
||||
};
|
||||
|
||||
|
@ -201,6 +202,7 @@ class pconstructor_decl : public pdecl {
|
|||
constructor_decl * instantiate_decl(pdecl_manager & m, sort * const * s);
|
||||
virtual ~pconstructor_decl() {}
|
||||
public:
|
||||
virtual void display(std::ostream & out) const { pdecl::display(out); }
|
||||
void display(std::ostream & out, pdatatype_decl const * const * dts) const;
|
||||
};
|
||||
|
||||
|
|
|
@ -270,7 +270,7 @@ namespace pdr {
|
|||
(*this)(n, new_cores.back().first, new_cores.back().second);
|
||||
}
|
||||
}
|
||||
virtual void collect_statistics(statistics& st) {}
|
||||
virtual void collect_statistics(statistics& st) const {}
|
||||
};
|
||||
|
||||
class context {
|
||||
|
|
|
@ -22,9 +22,11 @@ Revision History:
|
|||
#include"rational.h"
|
||||
#include"theory_diff_logic_def.h"
|
||||
|
||||
namespace smt {
|
||||
|
||||
template class theory_diff_logic<idl_ext>;
|
||||
template class theory_diff_logic<sidl_ext>;
|
||||
template class theory_diff_logic<rdl_ext>;
|
||||
template class theory_diff_logic<srdl_ext>;
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue