Skip to content

Commit cf28697

Browse files
committed
Rename _goto_program to goto_program
As there is no other goto program in scope the underscore is not needed for avoiding naming clashes. Therefore this rename can be done in order to help with readability.
1 parent 416b744 commit cf28697

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/goto-instrument/cover_basic_blocks.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ optionalt<std::size_t> cover_basic_blockst::continuation_of_block(
2929
return {};
3030
}
3131

32-
cover_basic_blockst::cover_basic_blockst(const goto_programt &_goto_program)
32+
cover_basic_blockst::cover_basic_blockst(const goto_programt &goto_program)
3333
{
3434
bool next_is_target = true;
3535
std::size_t current_block = 0;
3636

37-
forall_goto_program_instructions(it, _goto_program)
37+
forall_goto_program_instructions(it, goto_program)
3838
{
3939
// Is it a potential beginning of a block?
4040
if(next_is_target || it->is_target())

src/goto-instrument/cover_basic_blocks.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class cover_blocks_baset
6363
class cover_basic_blockst final : public cover_blocks_baset
6464
{
6565
public:
66-
explicit cover_basic_blockst(const goto_programt &_goto_program);
66+
explicit cover_basic_blockst(const goto_programt &goto_program);
6767

6868
/// \param t: a goto instruction
6969
/// \return the block number of the block

0 commit comments

Comments
 (0)