Skip to content

Fix Doxygen warnings in goto-instrument/wmm folder #3430

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 2 commits into from
Nov 16, 2018
Merged

Fix Doxygen warnings in goto-instrument/wmm folder #3430

merged 2 commits into from
Nov 16, 2018

Conversation

johnnonweiler
Copy link
Contributor

This fixes the remaining Doxygen warnings related to undocumented parameters. (In one case, it simply deletes documentation of a non-existent parameter, in other cases it adds documentation for missing parameters and tidies up the formatting.)

  • 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.
  • The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • 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.

@@ -145,14 +145,11 @@ unsigned instrumentert::goto2graph_cfg(
}

void instrumentert::cfg_visitort::visit_cfg_function(
/* value_sets and options */
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do these comments need to be removed? Surely Doxygen should just be ignoring these?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, apologies - I see they are replaced by Doxygen on the declaration instead. Ignore me :-)

Fix Doxygen warnings by adding documentation for some undocumented
parameters.  Also change documentation format to match the coding
standard (including removing comments on parameters in goto2graph.cpp
which duplicate documentation in goto2graph.h).
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: 3a18c51).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/91645710

@kroening kroening merged commit 8aa31fe into diffblue:develop Nov 16, 2018
@johnnonweiler johnnonweiler deleted the doc/reduce-doxygen-warnings-18 branch November 16, 2018 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants