Skip to content

Commit ceec123

Browse files
author
John Nonweiler
committed
Rename param in function declaration
Rename parameter in the function declaration to match the name in the function definition, to make Doxygen happier.
1 parent 3469b19 commit ceec123

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

scripts/expected_doxygen_warnings.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@
8383
parameter 'symbol_table'
8484
parameter 'goto_functions'
8585
parameter 'function_id'
86-
/cbmc/src/goto-programs/goto_program.cpp:21: warning: argument 'instruction' of command @param is not found in the argument list of goto_programt::output_instruction(const namespacet &ns, const irep_idt &identifier, std::ostream &out, const instructionst::value_type &it) const
87-
/cbmc/src/goto-programs/goto_program.h:560: warning: The following parameters of goto_programt::output_instruction(const namespacet &ns, const irep_idt &identifier, std::ostream &out, const instructionst::value_type &it) const are not documented:
88-
parameter 'it'
8986
/cbmc/src/goto-instrument/wmm/goto2graph.h:260: warning: The following parameters of instrumentert::cfg_visitort::visit_cfg_function(value_setst &value_sets, memory_modelt model, bool no_dependencies, loop_strategyt duplicate_body, const irep_idt &function, std::set< nodet > &ending_vertex) are not documented:
9087
parameter 'model'
9188
parameter 'no_dependencies'

src/goto-programs/goto_program.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ class goto_programt
569569
const namespacet &ns,
570570
const irep_idt &identifier,
571571
std::ostream &out,
572-
const instructionst::value_type &it) const;
572+
const instructionst::value_type &instruction) const;
573573

574574
/// Compute the target numbers
575575
void compute_target_numbers();

0 commit comments

Comments
 (0)