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.
1 parent 5fa91bf commit ac4706dCopy full SHA for ac4706d
src/analyses/goto_check.cpp
@@ -1833,7 +1833,7 @@ void goto_checkt::goto_check(
1833
lhs);
1834
goto_programt::targett t =
1835
new_code.add(goto_programt::make_assignment(
1836
- code_assignt(std::move(lhs), std::move(rhs)), i.source_location));
+ std::move(lhs), std::move(rhs), i.source_location));
1837
t->code.add_source_location()=i.source_location;
1838
}
1839
@@ -1849,7 +1849,7 @@ void goto_checkt::goto_check(
1849
1850
// add self-assignment to get helpful counterexample output
1851
new_code.add(
1852
- goto_programt::make_assignment(code_assignt(leak_expr, leak_expr)));
+ goto_programt::make_assignment(leak_expr, leak_expr));
1853
1854
source_locationt source_location;
1855
source_location.set_function(function_identifier);
0 commit comments