A static analysis tool for C/C++ code.
Instead of syntax errors, it focuses on the types of bugs that compilers normally do not detect.
cppcheck . 2> cppcheck.log
cppcheck --quiet {path/to/directory}
cppcheck --enable={error|warning|style|performance|portability|information|all} {path/to/file.cpp}
cppcheck --errorlist
cppcheck --suppress={test_id1} --suppress={test_id2} {path/to/file.cpp}
cppcheck -I {include/directory_1} -I {include/directory_2} .
*.vcxproj
) or solution (*.sln
):
cppcheck --project={path/to/project.sln}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY This content has been proxied by September (3851b).Proxy Information
text/gemini;lang=en-GB