Skip to content

Commit 20a8fe5

Browse files
author
John Nonweiler
committed
Move documentation into cpp file
A doxygen \param comment in the header file was referring to the 'goto_model' parameter which was named only in the cpp file, and doxygen complained that it could not find the parameter. (Moved other comments for consistency.)
1 parent 5f0ae45 commit 20a8fe5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

jbmc/src/java_bytecode/replace_java_nondet.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@ static void replace_java_nondet(goto_programt &goto_program)
323323
}
324324
}
325325

326+
/// Replace calls to nondet library functions with an internal nondet
327+
/// representation in a single function.
328+
/// \param function: The goto program to modify.
326329
void replace_java_nondet(goto_model_functiont &function)
327330
{
328331
goto_programt &program = function.get_goto_function().body;
@@ -341,6 +344,9 @@ void replace_java_nondet(goto_functionst &goto_functions)
341344
remove_skip(goto_functions);
342345
}
343346

347+
/// Replace calls to nondet library functions with an internal nondet
348+
/// representation.
349+
/// \param goto_model: The goto program to modify.
344350
void replace_java_nondet(goto_modelt &goto_model)
345351
{
346352
replace_java_nondet(goto_model.goto_functions);

jbmc/src/java_bytecode/replace_java_nondet.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,10 @@ class goto_modelt;
1616
class goto_functionst;
1717
class goto_model_functiont;
1818

19-
/// Replace calls to nondet library functions with an internal nondet
20-
/// representation.
21-
/// \param goto_model: The goto program to modify.
2219
void replace_java_nondet(goto_modelt &);
2320

2421
void replace_java_nondet(goto_functionst &);
2522

26-
/// Replace calls to nondet library functions with an internal nondet
27-
/// representation in a single function.
28-
/// \param function: The goto program to modify.
2923
void replace_java_nondet(goto_model_functiont &function);
3024

3125
#endif

0 commit comments

Comments
 (0)