Skip to content

Commit 1abbf1e

Browse files
Clean up commented code
1 parent 15f44c7 commit 1abbf1e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/goto-instrument/cover_instrument_mcdc.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,6 @@ void cover_mcdc_instrumentert::instrument(
679679
std::string comment_t = description + " `" + p_string + "' true";
680680
const irep_idt function = i_it->function;
681681
goto_program.insert_before_swap(i_it);
682-
// i_it->make_assertion(p);
683682
i_it->make_assertion(not_exprt(p));
684683
i_it->source_location = source_location;
685684
i_it->source_location.set_comment(comment_t);
@@ -690,7 +689,6 @@ void cover_mcdc_instrumentert::instrument(
690689

691690
std::string comment_f = description + " `" + p_string + "' false";
692691
goto_program.insert_before_swap(i_it);
693-
// i_it->make_assertion(not_exprt(p));
694692
i_it->make_assertion(p);
695693
i_it->source_location = source_location;
696694
i_it->source_location.set_comment(comment_f);
@@ -701,7 +699,6 @@ void cover_mcdc_instrumentert::instrument(
701699
}
702700

703701
std::set<exprt> controlling;
704-
// controlling=collect_mcdc_controlling(decisions);
705702
controlling = collect_mcdc_controlling_nested(decisions);
706703
remove_repetition(controlling);
707704
// for now, we restrict to the case of a single ''decision'';
@@ -721,7 +718,6 @@ void cover_mcdc_instrumentert::instrument(
721718
const irep_idt function = i_it->function;
722719
goto_program.insert_before_swap(i_it);
723720
i_it->make_assertion(not_exprt(p));
724-
// i_it->make_assertion(p);
725721
i_it->source_location = source_location;
726722
i_it->source_location.set_comment(description);
727723
i_it->source_location.set(ID_coverage_criterion, coverage_criterion);

0 commit comments

Comments
 (0)