File tree Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -288,3 +288,21 @@ void remove_returns(
288
288
rr (goto_functions);
289
289
}
290
290
291
+ /* ******************************************************************\
292
+
293
+ Function: remove_returns
294
+
295
+ Inputs:
296
+
297
+ Outputs:
298
+
299
+ Purpose: removes returns
300
+
301
+ \*******************************************************************/
302
+
303
+ void remove_returns (goto_modelt &goto_model)
304
+ {
305
+ remove_returnst rr (goto_model.symbol_table );
306
+ rr (goto_model.goto_functions );
307
+ }
308
+
Original file line number Diff line number Diff line change @@ -11,12 +11,10 @@ Date: September 2009
11
11
#ifndef CPROVER_REMOVE_RETURN_VALUES_H
12
12
#define CPROVER_REMOVE_RETURN_VALUES_H
13
13
14
- #include < goto-programs/goto_functions .h>
14
+ #include <goto-programs/goto_model .h>
15
15
16
- class symbol_tablet ;
16
+ void remove_returns ( symbol_tablet & , goto_functionst & ) ;
17
17
18
- void remove_returns (
19
- symbol_tablet &symbol_table,
20
- goto_functionst &goto_functions);
18
+ void remove_returns (goto_modelt & );
21
19
22
20
#endif
You can’t perform that action at this time.
0 commit comments