Skip to content

Commit 3469b19

Browse files
Merge pull request #3381 from johnnonweiler/doc/reduce-doxygen-warnings-15
Fix Doxygen warnings in files in /util folder
2 parents 9545b12 + 30f735b commit 3469b19

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

scripts/expected_doxygen_warnings.txt

-7
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
/cbmc/doc/architectural/howto.md:260: warning: found </div> at different nesting level (6) than expected (3)
2828
/cbmc/doc/architectural/howto.md:261: warning: end of comment block while expecting command </div>
2929
/cbmc/src/solvers/README.md:4: warning: @copydetails or @copydoc target 'generate_instantiations(messaget::mstreamt &stream, const string_constraint_generatort &generator, const index_set_pairt &index_set, const string_axiomst &axioms, const std::map<string_not_contains_constraintt, symbol_exprt> &not_contain_witnesses).' not found
30-
/cbmc/src/util/README.md:245: warning: unable to resolve reference to `ansi_ct' for \ref command
3130
/cbmc/src/cbmc/bmc.cpp:473: warning: argument 'message' of command @param is not found in the argument list of bmct::do_language_agnostic_bmc(const path_strategy_choosert &path_strategy_chooser, const optionst &opts, abstract_goto_modelt &model, ui_message_handlert &ui, std::function< void(bmct &, const symbol_tablet &)> driver_configure_bmc=nullptr, std::function< bool(void)> callback_after_symex=nullptr)
3231
/cbmc/src/cbmc/bmc.h:124: warning: The following parameters of bmct::do_language_agnostic_bmc(const path_strategy_choosert &path_strategy_chooser, const optionst &opts, abstract_goto_modelt &model, ui_message_handlert &ui, std::function< void(bmct &, const symbol_tablet &)> driver_configure_bmc=nullptr, std::function< bool(void)> callback_after_symex=nullptr) are not documented:
3332
parameter 'path_strategy_chooser'
@@ -122,12 +121,6 @@
122121
parameter 'function_id'
123122
/cbmc/jbmc/src/java_bytecode/java_string_library_preprocess.h:160: warning: The following parameters of java_string_library_preprocesst::make_string_format_code(const java_method_typet &type, const source_locationt &loc, const irep_idt &function_id, symbol_table_baset &symbol_table) are not documented:
124123
parameter 'function_id'
125-
/cbmc/src/util/json_irep.cpp:21: warning: argument 'include_comments' of command @param is not found in the argument list of json_irept::json_irept(bool _include_comments)
126-
/cbmc/src/util/json_irep.h:23: warning: The following parameters of json_irept::json_irept(bool _include_comments) are not documented:
127-
parameter '_include_comments'
128-
/cbmc/src/util/json_irep.cpp:98: warning: argument 'input' of command @param is not found in the argument list of json_irept::convert_from_json(const jsont &in) const
129-
/cbmc/src/util/json_irep.h:25: warning: The following parameters of json_irept::convert_from_json(const jsont &in) const are not documented:
130-
parameter 'in'
131124
/cbmc/src/langapi/language_file.cpp:51: warning: argument 'should_generate_stubs' of command @param is not found in the argument list of language_filest::set_should_generate_opaque_method_stubs(bool stubs_enabled)
132125
/cbmc/src/langapi/language_file.h:104: warning: The following parameters of language_filest::set_should_generate_opaque_method_stubs(bool stubs_enabled) are not documented:
133126
parameter 'stubs_enabled'

src/util/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ Symbols have:
241241
* A mode, which indicates the source language frontend responsible for creating
242242
them. This is mainly used in pretty-printing the symbol table, to indicate
243243
the appropriate language frontend to use rendering the symbol's value and/or
244-
type. For example, mode == ID_C == "C" indicates that \ref ansi_ct, the C
245-
front-end, should be used to pretty-print, which in turn delegates to
244+
type. For example, mode == ID_C == "C" indicates that \ref ansi_c_languaget,
245+
the C front-end, should be used to pretty-print, which in turn delegates to
246246
\ref expr2ct.
247247
* A base-name and pretty-name, which are a short and user-friendly version of
248248
the symbol's definitive name respectively.

src/util/json_irep.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Author: Thomas Kiley, [email protected]
1919

2020
/// To convert to JSON from an irep structure by recursively generating JSON
2121
/// for the different sub trees.
22-
/// \param include_comments: when writing JSON, should the comments
22+
/// \param _include_comments: when writing JSON, should the comments
2323
/// sub tree be included.
2424
json_irept::json_irept(bool _include_comments):
2525
include_comments(_include_comments)
@@ -95,7 +95,7 @@ void json_irept::convert_named_sub_tree(
9595
}
9696

9797
/// Deserialize a JSON irep representation.
98-
/// \param input: json object to convert
98+
/// \param in: json object to convert
9999
/// \return result - irep equivalent of input
100100
irept json_irept::convert_from_json(const jsont &in) const
101101
{

0 commit comments

Comments
 (0)