-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Added documentation for --suppress-xml #1420
Conversation
The xml example in the manual seems wrong <?xml version="1.0"?>
<suppressions>
<suppress>
<id>preprocessorErrorDirective</id>
<fileName>somedir/IDataReceiver.h</fileName> |
man/cppcheck.1.xml
Outdated
@@ -515,6 +516,12 @@ There are false positives with this option. Each result must be carefully invest | |||
<para>Suppress warnings listed in the file. | |||
Each suppression is in the format of <spec> above.</para> | |||
</listitem> | |||
</varlistentry> | |||
<varlistentry> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This <varlistentry>
have too much indentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nits.
It feels like we should indent this with the runastyle script cppcheck/runastyle
. However that is a different PR.
I have updated the indentation in the xml, however I don't know where the actual manual document is. If it is in the git repo then I will paste a sample in there that seems to work. |
Try to format cppcheck.1.xml via xmllint as suggested in #1420
No description provided.