Skip to content
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

fix #13362: Misra report on command line #7096

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

ludviggunne
Copy link
Contributor

WIP. Will add tests and HTML output.

lib/cppcheck.cpp Outdated Show resolved Hide resolved
lib/cppcheck.cpp Outdated Show resolved Hide resolved
lib/errorlogger.cpp Show resolved Hide resolved
lib/cppcheck.cpp Outdated Show resolved Hide resolved
@ludviggunne ludviggunne force-pushed the 13362 branch 3 times, most recently from 70c91e1 to aed1653 Compare December 21, 2024 15:19
@ludviggunne
Copy link
Contributor Author

@firewave I seem to be missing something with the CMake build, could you point me in the right direction? As I understand it all the lib/ sources should be available in the GUI.

https://github.com/danmar/cppcheck/actions/runs/12446323642/job/34748592068?pr=7096#step:12:141

@ludviggunne
Copy link
Contributor Author

@firewave I seem to be missing something with the CMake build, could you point me in the right direction? As I understand it all the lib/ sources should be available in the GUI.

https://github.com/danmar/cppcheck/actions/runs/12446323642/job/34748592068?pr=7096#step:12:141

Nevermind, found the problem.

@@ -1753,6 +1777,15 @@ void CmdLineParser::printHelp() const
" currently only possible to apply the base paths to\n"
" files that are on a lower level in the directory tree.\n"
" --report-progress Report progress messages while checking a file (single job only).\n"
" --report-type=<type> Add guideline and classification fields for specified coding standard.\n"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please also add it to man/cppcheck.1.xml.

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.

3 participants