3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-31 14:17:47 +00:00

build warnings

This commit is contained in:
Nikolaj Bjorner 2026-05-29 10:14:16 -07:00
parent 48bcee8e62
commit 30df8e7ece
6 changed files with 6 additions and 4 deletions

View file

@ -1670,7 +1670,7 @@ bool ast_manager::slow_not_contains(ast const * n) {
}
#endif
#if 1
#if 0
static unsigned s_count = 0;
static void track_id(ast_manager& m, ast* n, unsigned id) {

View file

@ -225,6 +225,7 @@ struct enum2bv_rewriter::imp {
new_body_ref = mk_and(bounds);
break;
case lambda_k:
case choice_k:
UNREACHABLE();
break;
}

View file

@ -86,6 +86,7 @@ namespace datalog {
case forall_k: m_univ = true; break;
case exists_k: m_exist = true; break;
case lambda_k: m_lambda = true; break;
case choice_k: break;
}
}
void operator()(app * n) { }

View file

@ -171,7 +171,6 @@ namespace smt {
void theory_finite_set::add_in_axioms(enode *in, var_data *d) {
SASSERT(u.is_in(in->get_expr()));
auto e = in->get_arg(0)->get_expr();
auto set1 = in->get_arg(1);
for (enode *setop : d->m_parent_setops) {
SASSERT(
any_of(enode::args(setop), [&](enode *arg) { return in->get_arg(1)->get_root() == arg->get_root(); }));
@ -833,7 +832,6 @@ namespace smt {
}
app *mk_range_value(model_generator &mg, expr_ref_vector const &values) {
unsigned i = 0;
arith_value av(th.m);
av.init(&th.ctx);
vector<std::tuple<rational, enode *, bool>> elems;

View file

@ -201,7 +201,6 @@ namespace smt {
for (auto [a, b] : th.m_diseqs) {
auto x = th.get_enode(a);
auto y = th.get_enode(b);
diseq d = {a, b};
if (n2b.contains(x) && n2b.contains(y)) {
arith_util a(m);
auto d1 = mk_diff(x, y);

View file

@ -119,6 +119,9 @@ protected:
case lambda_k:
m_stats["lambda-variables"] += q->get_num_decls();
break;
case choice_k:
m_stats["choice-variables"] += q->get_num_decls();
break;
}
m_stats["patterns"] += q->get_num_patterns();
m_stats["no-patterns"] += q->get_num_no_patterns();