💾 Archived View for freeshell.de › tldr › cppcheck.gmi captured on 2023-07-22 at 16:59:36. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
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} .
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).