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 f1489fd + f2306e3 commit 4d2905fCopy full SHA for 4d2905f
src/goto-programs/goto_inline_class.cpp
@@ -285,6 +285,13 @@ void goto_inlinet::insert_function_body(
285
for(auto &instruction : body.instructions)
286
instruction.function=target->function;
287
288
+ // make sure the inlined function does not introduce hiding
289
+ if(goto_function.is_hidden())
290
+ {
291
+ for(auto &instruction : body.instructions)
292
+ instruction.labels.remove("__CPROVER_HIDE");
293
+ }
294
+
295
replace_return(body, lhs);
296
297
goto_programt tmp1;
0 commit comments