File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,10 @@ void code_contractst::check_apply_invariants(
98
98
return ;
99
99
100
100
// Add quantified variables in contracts to the symbol map
101
- // TODO improve the structure below
101
+ // TODO improve the structure below wrt the replace_symbolt object
102
+ // In the current implementation, the add_quantified_variable
103
+ // function requires a replace_symbolt object as input, which is
104
+ // irrelevant in the context of loop contracts.
102
105
replace_symbolt replace;
103
106
code_contractst::add_quantified_variable (invariant, replace, mode);
104
107
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ Date: February 2016
18
18
#include < string>
19
19
#include < unordered_set>
20
20
21
+ #include < goto-programs/goto_convert_class.h>
21
22
#include < goto-programs/goto_functions.h>
22
23
#include < goto-programs/goto_model.h>
23
- #include < goto-programs/goto_convert_class.h>
24
24
25
25
#include < goto-instrument/loop_utils.h>
26
26
@@ -185,12 +185,12 @@ class code_contractst
185
185
irep_idt mode);
186
186
187
187
void check_apply_invariants (
188
- goto_functionst::goto_functiont &goto_function,
189
- goto_convertt &converter,
190
- const local_may_aliast &local_may_alias,
191
- const goto_programt::targett loop_head,
192
- const loopt &loop,
193
- const irep_idt &mode);
188
+ goto_functionst::goto_functiont &goto_function,
189
+ goto_convertt &converter,
190
+ const local_may_aliast &local_may_alias,
191
+ const goto_programt::targett loop_head,
192
+ const loopt &loop,
193
+ const irep_idt &mode);
194
194
};
195
195
196
196
#define FLAG_REPLACE_CALL " replace-call-with-contract"
You can’t perform that action at this time.
0 commit comments