mirror of
https://github.com/Z3Prover/z3
synced 2026-07-15 11:35:42 +00:00
pattern_inference: use auto for structured binding; drop debug well_sorted asserts in rewriter
Fixes a build error (C3694) from an illegal specifier in the structured binding at pattern_inference.cpp:127, and removes the temporary is_well_sorted SASSERTs (and well_sorted.h include) from rewriter_def.h that were used during pattern-inference diagnosis. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
5534dba680
commit
ca6d6e3977
2 changed files with 1 additions and 4 deletions
|
|
@ -124,7 +124,7 @@ void pattern_inference_cfg::collect::operator()(expr * n, unsigned num_bindings)
|
|||
m_num_bindings = num_bindings;
|
||||
m_todo.push_back(entry(n, 0));
|
||||
while (!m_todo.empty()) {
|
||||
entry [n, delta] = m_todo.back();
|
||||
auto [n, delta] = m_todo.back();
|
||||
TRACE(collect, tout << "processing: " << n->get_id() << " " << delta << " kind: " << n->get_kind() << "\n";);
|
||||
TRACE(collect_info, tout << mk_pp(n, m) << "\n";);
|
||||
if (visit_children(n, delta)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue