We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96a71f6 + e82029c commit 8d3c9aaCopy full SHA for 8d3c9aa
src/analyses/goto_check.cpp
@@ -1577,8 +1577,8 @@ void goto_checkt::goto_check(
1577
}
1578
else if(statement==ID_printf)
1579
{
1580
- forall_operands(it, i.code)
1581
- check(*it);
+ for(const auto &op : i.code.operands())
+ check(op);
1582
1583
1584
else if(i.is_assign())
@@ -1625,8 +1625,8 @@ void goto_checkt::goto_check(
1625
1626
1627
1628
- forall_operands(it, code_function_call)
1629
+ for(const auto &op : code_function_call.operands())
1630
1631
// the call might invalidate any assertion
1632
assertions.clear();
0 commit comments