I would like to use Cppcheck for static code analysis of my C++ code. I learned that I can suppress some kind of warnings with --inline-suppr command. However,
--inline-suppr
According to the cppcheck man page, you can use the --template option to change the default output to include the id, e.g.
--template
cppcheck /the/src/file --template='{file}:{line},{severity},{id},{message}'