Skip to content

Fix Doxygen warnings in goto-programs/ folder #3394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 13, 2018
Merged

Fix Doxygen warnings in goto-programs/ folder #3394

merged 3 commits into from
Nov 13, 2018

Conversation

johnnonweiler
Copy link
Contributor

Update function parameter documentation, or rename parameters, to fix Doxygen warnings

  • Each commit message has a non-empty body, explaining why the change was made.
  • Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • White-space or formatting changes outside the feature-related changed lines are in commits of their own.

John Nonweiler added 2 commits November 13, 2018 14:48
Rename parameter in the function declaration to match the name in the
function definition, to make Doxygen happier.
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).
@@ -1974,6 +1974,7 @@ void goto_convert(
/// \param thread_body: sequence of codet's that can be executed
/// in parallel.
/// \param [out] dest: resulting goto-instructions.
/// \param mode: language mode.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Language mode (no full stop unless it is a full sentence)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was being consistent with the other parameter documentation for this method. I find changing style within the documentation for one function is much more off-putting than having a different style between functions.

I thought people would prefer me not to change the documentation for the other parameters to match the coding standard. Would you prefer me to do that?

Copy link
Contributor

@NlightNFotis NlightNFotis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johnnonweiler
Copy link
Contributor Author

Following discussion with @peterschrammel, I have now changed the parameter documentation for goto_convert to match the coding standard (by starting with capital letters and not finishing with a full stop).

Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫
This PR failed Diffblue compatibility checks (cbmc commit: f1e368e).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/91239488
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.

Common spurious failures:

  • the cbmc commit has disappeared in the mean time (e.g. in a force-push)
  • the author is not in the list of contributors (e.g. first-time contributors).

The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.

@johnnonweiler
Copy link
Contributor Author

johnnonweiler commented Nov 13, 2018

I believe the test-gen bot failure was a spurious failure because "the cbmc commit has disappeared in the mean time".

Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️
Passed Diffblue compatibility checks (cbmc commit: dcd6cd1).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/91244913

@peterschrammel peterschrammel merged commit b0d1a47 into diffblue:develop Nov 13, 2018
@peterschrammel peterschrammel deleted the doc/reduce-doxygen-warnings-17 branch November 13, 2018 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants