Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 568 Bytes

File metadata and controls

14 lines (9 loc) · 568 Bytes

cppcheck.pl

{:.no_toc}

This script wraps cppcheck and supplies common parameters, as well as pre-defined compiler definitions.

Usage

cppcheck.pl [parameters] [file]

Notes

This script is normally invoked through the cc_driver.pl script, which supplies definitions from the file's entry in the compilation database (-I and -D parameters).

The script generates a file containing the compiler's pre-defined macro definitions, which is input to cppcheck using cppcheck's --include= flag.

See this post for more information.