mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
remove ast_manager get_sort method entirely
This commit is contained in:
parent
489df0760f
commit
8f577d3943
72 changed files with 209 additions and 208 deletions
|
@ -80,7 +80,7 @@ namespace smt {
|
|||
smt::context& ctx = m_th.get_context();
|
||||
app* result = nullptr;
|
||||
expr* n = m_node->get_owner();
|
||||
sort* s = m_th.m().get_sort(n);
|
||||
sort* s = n->get_sort();
|
||||
func_decl* r, *v;
|
||||
m_th.get_rep(s, r, v);
|
||||
app_ref rep_of(m_th.m());
|
||||
|
@ -175,7 +175,7 @@ namespace smt {
|
|||
|
||||
void relevant_eh(app * n) override {
|
||||
if (u().is_finite_sort(n)) {
|
||||
sort* s = m().get_sort(n);
|
||||
sort* s = n->get_sort();
|
||||
func_decl* r, *v;
|
||||
get_rep(s, r, v);
|
||||
|
||||
|
@ -247,7 +247,7 @@ namespace smt {
|
|||
}
|
||||
|
||||
void mk_lt(app* x, app* y) {
|
||||
sort* s = m().get_sort(x);
|
||||
sort* s = x->get_sort();
|
||||
func_decl* r, *v;
|
||||
get_rep(s, r, v);
|
||||
app_ref lt(m()), le(m());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue