💾 Archived View for freeshell.de › tldr › cppcheck.gmi captured on 2024-02-05 at 10:35:21. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

cppcheck

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.

More information.

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).

CC-BY