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 |
| DCL36-CPP. Do not declare an identifier with conflicting linkage classifications |
| 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 |