mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
compiler warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d716771541
commit
16dc2788a7
|
@ -1622,7 +1622,7 @@ namespace nlsat {
|
||||||
del_clauses(m_valids);
|
del_clauses(m_valids);
|
||||||
if (m_check_lemmas) {
|
if (m_check_lemmas) {
|
||||||
for (clause* c : m_learned) {
|
for (clause* c : m_learned) {
|
||||||
//check_lemma(c->size(), c->c_ptr(), false, nullptr);
|
check_lemma(c->size(), c->c_ptr(), false, nullptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1933,6 +1933,10 @@ namespace smt {
|
||||||
zstring bodyStr = get_std_regex_str(body);
|
zstring bodyStr = get_std_regex_str(body);
|
||||||
return zstring("(") + bodyStr + zstring("{") + zstring(rLo.to_string().c_str()) + zstring("+") + zstring("})");
|
return zstring("(") + bodyStr + zstring("{") + zstring(rLo.to_string().c_str()) + zstring("+") + zstring("})");
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
TRACE("str", tout << "BUG: unrecognized regex term " << mk_pp(regex, get_manager()) << std::endl;);
|
||||||
|
UNREACHABLE(); return zstring("");
|
||||||
|
}
|
||||||
} else if (u.re.is_full_seq(a_regex)) {
|
} else if (u.re.is_full_seq(a_regex)) {
|
||||||
return zstring("(.*)");
|
return zstring("(.*)");
|
||||||
} else if (u.re.is_full_char(a_regex)) {
|
} else if (u.re.is_full_char(a_regex)) {
|
||||||
|
@ -1941,6 +1945,7 @@ namespace smt {
|
||||||
TRACE("str", tout << "BUG: unrecognized regex term " << mk_pp(regex, get_manager()) << std::endl;);
|
TRACE("str", tout << "BUG: unrecognized regex term " << mk_pp(regex, get_manager()) << std::endl;);
|
||||||
UNREACHABLE(); return zstring("");
|
UNREACHABLE(); return zstring("");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void theory_str::instantiate_axiom_RegexIn(enode * e) {
|
void theory_str::instantiate_axiom_RegexIn(enode * e) {
|
||||||
|
|
Loading…
Reference in a new issue