Download User's Guide

Transcript
NameUnsignedInt.rule
Items Enforced
NameUnsignedInt.rule
Begin all unsigned integer type
variables with ‘ui’
This rule checks whether all of your unsigned integer type variables
begin with ‘ui’.
Reason for rule: Hungarian notation. When an entire development group
agrees on a common convention, code becomes easier to read and more
easily understood.
Example
void foo() {
unsigned int Var;
// Violation
unsigned int uiVar;
// OK
}
295