Skip to content

Commit 5d4c14a

Browse files
author
John Nonweiler
committed
Fix typo in parameter name
Change parameter name from `clas_hierarchy` to `class_hierarchy` in function definition (so that it matches the parameter name in the function declaration and in the Doxygen comment).
1 parent ceec123 commit 5d4c14a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

scripts/expected_doxygen_warnings.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@
129129
parameter 'message_handler'
130130
/cbmc/src/goto-programs/rebuild_goto_start_function.cpp:37: warning: argument 'entry_function' of command @param is not found in the argument list of rebuild_goto_start_function_baset< maybe_lazy_goto_modelt >::operator()(void)
131131
/cbmc/jbmc/src/java_bytecode/remove_exceptions.cpp:47: warning: Found unknown command `\class_identifier'
132-
/cbmc/src/goto-programs/resolve_inherited_component.cpp:13: warning: argument 'class_hierarchy' of command @param is not found in the argument list of resolve_inherited_componentt::resolve_inherited_componentt(const symbol_tablet &symbol_table, const class_hierarchyt &clas_hierarchy)
133-
/cbmc/src/goto-programs/resolve_inherited_component.h:24: warning: The following parameters of resolve_inherited_componentt::resolve_inherited_componentt(const symbol_tablet &symbol_table, const class_hierarchyt &clas_hierarchy) are not documented:
134-
parameter 'clas_hierarchy'
135132
/cbmc/jbmc/src/java_bytecode/select_pointer_type.h:50: warning: The following parameters of select_pointer_typet::specialize_generics(const pointer_typet &pointer_type, const generic_parameter_specialization_mapt &generic_parameter_specialization_map, generic_parameter_recursion_trackingt &visited_nodes) const are not documented:
136133
parameter 'visited_nodes'
137134
/cbmc/src/solvers/refinement/string_refinement.cpp:2099: warning: argument 'expr' of command @param is not found in the argument list of string_constraintt::universal_only_in_index(const string_constraintt &constr)

src/goto-programs/resolve_inherited_component.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
///
1717
resolve_inherited_componentt::resolve_inherited_componentt(
1818
const symbol_tablet &symbol_table,
19-
const class_hierarchyt &clas_hierarchy)
20-
: class_hierarchy(clas_hierarchy), symbol_table(symbol_table)
19+
const class_hierarchyt &class_hierarchy)
20+
: class_hierarchy(class_hierarchy), symbol_table(symbol_table)
2121
{
2222
// We require the class_hierarchy to be already populated if we are being
2323
// supplied it.

0 commit comments

Comments
 (0)