This page is automatically generated from the "Automated Detection" sections in the individual guidelines. Do not modify this page directly.

Version number:
v5.0 

C++ checkers

Rule

 

ARR01-CPP. Do not apply the sizeof operator to a pointer when taking the size of an array

 

DCL01-CPP. Do not reuse variable names in subscopes

 

DCL15-CPP. Declare file-scope objects or functions that do not need external linkage in an unnamed namespace

 

EXP12-CPP. Do not ignore values returned by functions or methods

 

EXP30-CPP. Do not depend on order of evaluation between sequence points

 

INT07-CPP. Use only explicitly signed or unsigned char type for numeric values

 

INT13-CPP. Use bitwise operators only on unsigned operands

 

MSC12-CPP. Detect and remove code that has no effect

 

STR36-CPP. Do not specify the bound of a character array initialized with a string literal