@@ -308,10 +308,10 @@ class goto_check_ct
308
308
// / on the given source location.
309
309
void add_active_named_check_pragmas (source_locationt &source_location) const ;
310
310
311
- // / \brief Adds "disable " pragmas for all named checks
312
- // / on the given source location .
311
+ // / \brief Adds "checked " pragmas for all named checks on the given source
312
+ // / location (prevents any the instanciation of any ulterior check) .
313
313
void
314
- add_all_disable_named_check_pragmas (source_locationt &source_location) const ;
314
+ add_all_checked_named_check_pragmas (source_locationt &source_location) const ;
315
315
316
316
// / activation statuses for named checks
317
317
typedef enum
@@ -1726,7 +1726,7 @@ void goto_check_ct::add_guarded_property(
1726
1726
annotated_location.set_comment (comment + " in " + source_expr_string);
1727
1727
annotated_location.set_property_class (property_class);
1728
1728
1729
- add_all_disable_named_check_pragmas (annotated_location);
1729
+ add_all_checked_named_check_pragmas (annotated_location);
1730
1730
1731
1731
if (enable_assert_to_assume)
1732
1732
{
@@ -2477,11 +2477,11 @@ void goto_check_ct::add_active_named_check_pragmas(
2477
2477
source_location.add_pragma (" checked:" + id2string (entry.first ));
2478
2478
}
2479
2479
2480
- void goto_check_ct::add_all_disable_named_check_pragmas (
2480
+ void goto_check_ct::add_all_checked_named_check_pragmas (
2481
2481
source_locationt &source_location) const
2482
2482
{
2483
2483
for (const auto &entry : name_to_flag)
2484
- source_location.add_pragma (" disable :" + id2string (entry.first ));
2484
+ source_location.add_pragma (" checked :" + id2string (entry.first ));
2485
2485
}
2486
2486
2487
2487
goto_check_ct::named_check_statust
0 commit comments