static code analysis - Customize cppcheck ruleset -


I am using Cppcheck for static code analysis. For example, I want to change the severity of the style rule with uninitMemberVar , for example, what I want to achieve, some rules For "seriousness" warning (this is just an example).

Is there any way to get this? Where can I find the full CPKEC rules?

I am a CPK developer.

Unlimited mailwire already has a warning. I suggest you use --xml-version = 2.

For your information, the default - XML ​​format is version 1. This format only has error and style. All non-error messages are shown as style. Due to compatibility with older plugins / scripts / tools this format is the default - but maybe we can consider making version 2 default because we have recommended version 2 for many years.

/ Code>


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -