
cppcheck
List of commands for cppcheck:
-
cppcheck:tldr:3ac55 cppcheck: Recursively check the current directory, showing progress on the screen and logging error messages to a file.$ cppcheck . 2> cppcheck.logtry on your machineexplain this command
-
cppcheck:tldr:4d4d8 cppcheck: List available tests.$ cppcheck --errorlisttry on your machineexplain this command
-
cppcheck:tldr:51961 cppcheck: Check a given file, ignoring specific tests.$ cppcheck --suppress=${test_id1} --suppress=${test_id2} ${filename-cpp}try on your machineexplain this command
-
cppcheck:tldr:69a42 cppcheck: Recursively check a given directory, and don't print progress messages.$ cppcheck --quiet ${path-to-directory}try on your machineexplain this command
-
cppcheck:tldr:ab516 cppcheck: Check a Microsoft Visual Studio project (`*.vcxproj`) or solution (`*.sln`).$ cppcheck --project=${path-to-project-sln}try on your machineexplain this command
-
cppcheck:tldr:dd69f cppcheck: Check a given file, specifying which tests to perform (by default only errors are shown).$ cppcheck --enable=${select} ${filename-cpp}try on your machineexplain this command
-
cppcheck:tldr:f7392 cppcheck: Check the current directory, providing paths for include files located outside it (e.g. external libraries).$ cppcheck -I ${include-directory_1} -I ${include-directory_2} .try on your machineexplain this command