Skip to content

Reduce Doxygen warnings in goto-instrument #3179

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
Oct 15, 2018
Merged

Reduce Doxygen warnings in goto-instrument #3179

merged 2 commits into from
Oct 15, 2018

Conversation

johnnonweiler
Copy link
Contributor

Reduce Doxygen warnings by updating some parameter documentation, and abbreviating a "deprecated" message (where Doxygen was getting confused by multi-line macro parameters).

  • 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 October 12, 2018 17:16
It appears that Doxygen cannot cope with macros with multiline
parameters.  There was a DEPRECATED macro with a multiline comment
explaining which method to use instead, which led to Doxygen producing
a warning message and failing to produce the correct documentation. With
the message passed to the DEPRECATED macro abbreviated so that it fits
in one line, Doxygen can produce the correct documentation.

(There is only one instrument_cover_goals() method which takes a
goto_programt as its first parameter.)
Doxygen produces warnings if some parameters are documentated and not
others, or if there is documentation for parameters which don't exist.
Copy link
Collaborator

@martin-cs martin-cs left a comment

Choose a reason for hiding this comment

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

Seems fair.

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: 0ff774b).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/87968363
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.

@tautschnig tautschnig merged commit caf2c61 into diffblue:develop Oct 15, 2018
@johnnonweiler johnnonweiler deleted the doc/reduce-doxygen-warnings-7 branch October 15, 2018 16:24
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.

5 participants