Rule M6-5-2 (required, implementation, automated)

If loop-counter is not modified by or ++, then, within condition, the loop-counter shall only be used as an operand to <=, <, > or >=. See MISRA C++ 2008 [7]