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 439a43e commit 3d9116bCopy full SHA for 3d9116b
src/goto-programs/remove_returns.cpp
@@ -225,7 +225,10 @@ void remove_returnst::operator()(goto_functionst &goto_functions)
225
findit != goto_functions.function_map.end(),
226
"called function `" + id2string(function_id) +
227
"' should have an entry in the function map");
228
- return !findit->second.body_available();
+ return !findit->second.body_available() &&
229
+ function_id != CPROVER_PREFIX "field_decl" &&
230
+ function_id != CPROVER_PREFIX "get_field" &&
231
+ function_id != CPROVER_PREFIX "set_field";
232
};
233
234
replace_returns(gf_entry.first, gf_entry.second);
0 commit comments