Syntax:
cppcheck [OPTIONS] [files or paths]
in this repo:
Recursively check the current folder, format the error messages as file name:line number:column number: warning message and don't print progress:
cppcheck --quiet --template='{file}:{line}:{column}: {message}' .
For more information:
https://files.cppchecksolutions.com/manual.pdf