mirror of
https://github.com/Z3Prover/z3
synced 2026-02-20 15:34:41 +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
|
|
@ -401,7 +401,7 @@ namespace qe {
|
|||
app_ref r(m);
|
||||
ptr_vector<expr> args;
|
||||
unsigned sz0 = todo.size();
|
||||
todo.append(fmls.size(), (expr*const*)fmls.c_ptr());
|
||||
todo.append(fmls.size(), (expr*const*)fmls.data());
|
||||
while (sz0 != todo.size()) {
|
||||
app* a = to_app(todo.back());
|
||||
if (cache.contains(a)) {
|
||||
|
|
@ -1083,7 +1083,7 @@ namespace qe {
|
|||
return expr_ref(m);
|
||||
}
|
||||
reset();
|
||||
fml = ::mk_exists(m, vars.size(), vars.c_ptr(), fml);
|
||||
fml = ::mk_exists(m, vars.size(), vars.data(), fml);
|
||||
fml = ::push_not(fml);
|
||||
hoist(fml);
|
||||
if (!is_ground(fml)) {
|
||||
|
|
@ -1107,7 +1107,7 @@ namespace qe {
|
|||
}
|
||||
m_free_vars.shrink(j);
|
||||
if (!m_free_vars.empty()) {
|
||||
fml = ::mk_exists(m, m_free_vars.size(), m_free_vars.c_ptr(), fml);
|
||||
fml = ::mk_exists(m, m_free_vars.size(), m_free_vars.data(), fml);
|
||||
}
|
||||
return fml;
|
||||
default:
|
||||
|
|
@ -1274,7 +1274,7 @@ namespace qe {
|
|||
expr_ref_vector defs(m);
|
||||
expr_ref fml(m);
|
||||
in->get_formulas(fmls);
|
||||
fml = mk_and(m, fmls.size(), fmls.c_ptr());
|
||||
fml = mk_and(m, fmls.size(), fmls.data());
|
||||
|
||||
// for now:
|
||||
// fail if cores. (TBD)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue