File tree 1 file changed +4
-4
lines changed
src/solvers/smt2_incremental 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ void smt2_incremental_decision_proceduret::define_dependent_functions(
49
49
return expr_identifier.first ;
50
50
});
51
51
std::stack<exprt> to_be_defined;
52
- const auto dependencies_needed = [&](const exprt &expr) {
52
+ const auto push_dependencies_needed = [&](const exprt &expr) {
53
53
bool result = false ;
54
54
for (const auto &dependency : gather_dependent_expressions (expr))
55
55
{
@@ -60,11 +60,11 @@ void smt2_incremental_decision_proceduret::define_dependent_functions(
60
60
}
61
61
return result;
62
62
};
63
- dependencies_needed (expr);
63
+ push_dependencies_needed (expr);
64
64
while (!to_be_defined.empty ())
65
65
{
66
66
const exprt current = to_be_defined.top ();
67
- if (dependencies_needed (current))
67
+ if (push_dependencies_needed (current))
68
68
continue ;
69
69
if (const auto symbol_expr = expr_try_dynamic_cast<symbol_exprt>(current))
70
70
{
@@ -81,7 +81,7 @@ void smt2_incremental_decision_proceduret::define_dependent_functions(
81
81
}
82
82
else
83
83
{
84
- if (dependencies_needed (symbol->value ))
84
+ if (push_dependencies_needed (symbol->value ))
85
85
continue ;
86
86
const smt_define_function_commandt function{
87
87
symbol->name , {}, convert_expr_to_smt (symbol->value )};
You can’t perform that action at this time.
0 commit comments