Skip to content

Commit 68ca9a1

Browse files
author
Owen Jones
committed
Correct parameter names to stop doxygen warning
1 parent 712c168 commit 68ca9a1

File tree

7 files changed

+26
-23
lines changed

7 files changed

+26
-23
lines changed

jbmc/unit/java-testing-utils/require_type.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ require_type::require_java_implicitly_generic_class(const typet &class_type)
359359
/// Verify that a class is a valid java generic class with the
360360
/// specified list of variables.
361361
/// \param class_type: the class
362-
/// \param type_variables: vector of type variables
362+
/// \param implicit_type_variables: vector of type variables
363363
/// \return: A reference to the java generic class type.
364364
java_implicitly_generic_class_typet
365365
require_type::require_java_implicitly_generic_class(
@@ -403,7 +403,7 @@ require_type::require_complete_java_implicitly_generic_class(
403403
/// Verify that a class is a complete, valid java generic class with the
404404
/// specified list of variables.
405405
/// \param class_type: the class
406-
/// \param type_variables: vector of type variables
406+
/// \param implicit_type_variables: vector of type variables
407407
/// \return: A reference to the java generic class type.
408408
java_implicitly_generic_class_typet
409409
require_type::require_complete_java_implicitly_generic_class(
@@ -508,7 +508,7 @@ java_generic_symbol_typet require_type::require_java_generic_symbol_type(
508508

509509
/// Verify that the lambda method handles of a class match the given
510510
/// expectation.
511-
/// \param class_struct class type to be verified
511+
/// \param class_type class type to be verified
512512
/// \param expected_identifiers expected list of lambda method handle
513513
/// references
514514
/// \return lambda method handles of the class

src/goto-programs/remove_virtual_functions.cpp

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -301,17 +301,18 @@ goto_programt::targett remove_virtual_functionst::remove_virtual_function(
301301

302302
/// Used by get_functions to track the most-derived parent that provides an
303303
/// override of a given function.
304-
/// \param parameters: `this_id`: class name
305-
/// \param `last_method_defn`: the most-derived parent of `this_id` to define
304+
/// \param this_id: class name
305+
/// \param last_method_defn: the most-derived parent of `this_id` to define
306306
/// the requested function
307-
/// \param `component_name`: name of the function searched for
308-
/// \param `entry_map`: map of class identifiers to dispatch table entries
309-
/// \param `resolve_function_call`: function to resolve abstract method call
310-
/// \return `functions` is assigned a list of {class name, function symbol}
311-
/// pairs indicating that if `this` is of the given class, then the call will
312-
/// target the given function. Thus if A <: B <: C and A and C provide
313-
/// overrides of `f` (but B does not), get_child_functions_rec("C", C.f, "f")
307+
/// \param component_name: name of the function searched for
308+
/// \param [out] functions: `functions` is assigned a list of
309+
/// {class name, function symbol} pairs indicating that if `this` is of the
310+
/// given class, then the call will target the given function. Thus if
311+
/// A <: B <: C and A and C provide overrides of `f` (but B does not),
312+
/// get_child_functions_rec("C", C.f, "f")
314313
/// -> [{"C", C.f}, {"B", C.f}, {"A", A.f}]
314+
/// \param entry_map: map of class identifiers to dispatch table entries
315+
/// \param resolve_function_call`: function to resolve abstract method call
315316
void remove_virtual_functionst::get_child_functions_rec(
316317
const irep_idt &this_id,
317318
const symbol_exprt &last_method_defn,

src/goto-programs/show_goto_functions_json.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Author: Thomas Kiley
2525
#include "goto_model.h"
2626

2727
/// For outputting the GOTO program in a readable JSON format.
28-
/// \param ns: the namespace to use to resolve names with
29-
/// \param list_only: output only list of functions, but not their bodies
28+
/// \param _ns: the namespace to use to resolve names with
29+
/// \param _list_only: output only list of functions, but not their bodies
3030
show_goto_functions_jsont::show_goto_functions_jsont(
3131
const namespacet &_ns,
3232
bool _list_only)

src/goto-programs/show_goto_functions_xml.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ Author: Thomas Kiley
2424
#include "goto_model.h"
2525

2626
/// For outputting the GOTO program in a readable xml format.
27-
/// \param ns: the namespace to use to resolve names with
28-
/// \param list_only: output only list of functions, but not their bodies
27+
/// \param _ns: the namespace to use to resolve names with
28+
/// \param _list_only: output only list of functions, but not their bodies
2929
show_goto_functions_xmlt::show_goto_functions_xmlt(
3030
const namespacet &_ns,
3131
bool _list_only)

src/goto-programs/system_library_symbols.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,9 @@ void system_library_symbolst::add_to_system_library(
257257
/// fake symbol with the given type, to determine whether the type alone
258258
/// is sufficient to classify a symbol of that type as internal.
259259
/// \param type: the type to check
260-
/// \return True if the type is an internal type. If specific system headers
261-
/// need to be included, the out_system_headers will contain the headers.
260+
/// \param [out] out_system_headers: specific system headers that need to be
261+
/// included
262+
/// \return True if the type is an internal type
262263
bool system_library_symbolst::is_type_internal(
263264
const typet &type,
264265
std::set<std::string> &out_system_headers) const
@@ -270,8 +271,9 @@ bool system_library_symbolst::is_type_internal(
270271

271272
/// To find out if a symbol is an internal symbol.
272273
/// \param symbol: the symbol to check
273-
/// \return True if the symbol is an internal symbol. If specific system headers
274-
/// need to be included, the out_system_headers will contain the headers.
274+
/// \param [out] out_system_headers: specific system headers that need to be
275+
/// included
276+
/// \return True if the symbol is an internal symbol
275277
bool system_library_symbolst::is_symbol_internal_symbol(
276278
const symbolt &symbol,
277279
std::set<std::string> &out_system_headers) const

src/pointer-analysis/value_set.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class value_sett
213213
/// \param dest: object map to update
214214
/// \param n: object number to add; must be mapped to the corresponding
215215
/// expression by `object_numbering`.
216-
/// \param object: offset into object `n` (may be unknown).
216+
/// \param offset: offset into object `n` (may be unknown).
217217
bool insert(
218218
object_mapt &dest,
219219
object_numberingt::number_type n,
@@ -224,7 +224,7 @@ class value_sett
224224
/// with a differing offset its offset is marked unknown.
225225
/// \param dest: object map to update
226226
/// \param expr: expression to add
227-
/// \param object: offset into `expr` (may be unknown).
227+
/// \param offset: offset into `expr` (may be unknown).
228228
bool insert(object_mapt &dest, const exprt &expr, const offsett &offset) const
229229
{
230230
return insert(dest, object_numbering.number(expr), offset);

unit/testing-utils/require_expr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ typecast_exprt require_expr::require_typecast(const exprt &expr)
9595

9696
/// Verify a given exprt is a side_effect_exprt with appropriate statement.
9797
/// \param expr: The expression.
98-
/// \param symbol_name: The intended identifier of statement
98+
/// \param side_effect_statement: The kind of side effect that is required
9999
/// \return The expr cast to a side_effect_exprt
100100
side_effect_exprt require_expr::require_side_effect_expr(
101101
const exprt &expr,

0 commit comments

Comments
 (0)