mirror of
https://github.com/Z3Prover/z3
synced 2025-08-11 05:30:51 +00:00
call it data instead of c_ptr for approaching C++11 std::vector convention.
This commit is contained in:
parent
524dcd35f9
commit
4a6083836a
456 changed files with 2802 additions and 2802 deletions
|
@ -68,7 +68,7 @@ void expr_abstractor::operator()(unsigned base, unsigned num_bound, expr* const*
|
|||
}
|
||||
if (all_visited) {
|
||||
if (changed) {
|
||||
b = m.mk_app(a->get_decl(), m_args.size(), m_args.c_ptr());
|
||||
b = m.mk_app(a->get_decl(), m_args.size(), m_args.data());
|
||||
m_pinned.push_back(b);
|
||||
} else {
|
||||
b = curr;
|
||||
|
@ -89,7 +89,7 @@ void expr_abstractor::operator()(unsigned base, unsigned num_bound, expr* const*
|
|||
patterns.push_back(result1.get());
|
||||
}
|
||||
result1 = expr_abstract(m, new_base, num_bound, bound, q->get_expr());
|
||||
b = m.update_quantifier(q, patterns.size(), patterns.c_ptr(), result1.get());
|
||||
b = m.update_quantifier(q, patterns.size(), patterns.data(), result1.get());
|
||||
m_pinned.push_back(b);
|
||||
m_map.insert(curr, b);
|
||||
m_stack.pop_back();
|
||||
|
@ -125,7 +125,7 @@ expr_ref mk_quantifier(quantifier_kind k, ast_manager& m, unsigned num_bound, ap
|
|||
sorts.push_back(bound[i]->get_sort());
|
||||
names.push_back(bound[i]->get_decl()->get_name());
|
||||
}
|
||||
result = m.mk_quantifier(k, num_bound, sorts.c_ptr(), names.c_ptr(), result);
|
||||
result = m.mk_quantifier(k, num_bound, sorts.data(), names.data(), result);
|
||||
}
|
||||
TRACE("expr_abstract",
|
||||
tout << expr_ref(n, m) << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue