mirror of
https://github.com/Z3Prover/z3
synced 2025-08-25 20:46:01 +00:00
Various variable renamings to avoid conflicts with previously defined local variables, function parameters, or members (Visual Studio 2015 warnings).
This commit is contained in:
parent
ba88648468
commit
fec815b41e
11 changed files with 65 additions and 69 deletions
|
@ -464,18 +464,18 @@ void bit_blaster_tpl<Cfg>::mk_udiv_urem(unsigned sz, expr * const * a_bits, expr
|
|||
// update p
|
||||
if (i < sz - 1) {
|
||||
for (unsigned j = sz - 1; j > 0; j--) {
|
||||
expr_ref i(m());
|
||||
mk_ite(q, t.get(j-1), p.get(j-1), i);
|
||||
p.set(j, i);
|
||||
expr_ref ie(m());
|
||||
mk_ite(q, t.get(j-1), p.get(j-1), ie);
|
||||
p.set(j, ie);
|
||||
}
|
||||
p.set(0, a_bits[sz - i - 2]);
|
||||
}
|
||||
else {
|
||||
// last step: p contains the remainder
|
||||
for (unsigned j = 0; j < sz; j++) {
|
||||
expr_ref i(m());
|
||||
mk_ite(q, t.get(j), p.get(j), i);
|
||||
p.set(j, i);
|
||||
expr_ref ie(m());
|
||||
mk_ite(q, t.get(j), p.get(j), ie);
|
||||
p.set(j, ie);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -324,7 +324,7 @@ void rewriter_tpl<Config>::process_app(app * t, frame & fr) {
|
|||
}
|
||||
result_stack().push_back(def);
|
||||
TRACE("get_macro", tout << "bindings:\n";
|
||||
for (unsigned i = 0; i < m_bindings.size(); i++) tout << i << ": " << mk_ismt2_pp(m_bindings[i], m()) << "\n";);
|
||||
for (unsigned j = 0; j < m_bindings.size(); j++) tout << j << ": " << mk_ismt2_pp(m_bindings[j], m()) << "\n";);
|
||||
begin_scope();
|
||||
m_num_qvars = 0;
|
||||
m_root = def;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue