@@ -308,10 +308,10 @@ class goto_check_ct
308308 // / on the given source location.
309309 void add_active_named_check_pragmas (source_locationt &source_location) const ;
310310
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) .
313313 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 ;
315315
316316 // / activation statuses for named checks
317317 typedef enum
@@ -1726,7 +1726,7 @@ void goto_check_ct::add_guarded_property(
17261726 annotated_location.set_comment (comment + " in " + source_expr_string);
17271727 annotated_location.set_property_class (property_class);
17281728
1729- add_all_disable_named_check_pragmas (annotated_location);
1729+ add_all_checked_named_check_pragmas (annotated_location);
17301730
17311731 if (enable_assert_to_assume)
17321732 {
@@ -2477,11 +2477,11 @@ void goto_check_ct::add_active_named_check_pragmas(
24772477 source_location.add_pragma (" checked:" + id2string (entry.first ));
24782478}
24792479
2480- void goto_check_ct::add_all_disable_named_check_pragmas (
2480+ void goto_check_ct::add_all_checked_named_check_pragmas (
24812481 source_locationt &source_location) const
24822482{
24832483 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 ));
24852485}
24862486
24872487goto_check_ct::named_check_statust
0 commit comments