This rule is a strict implementation of a MISRA (Motor Industry Software Reliability Association) rule. MISRA defines best practices for developing
safety-critical software. You can learn more about this rule in the MISRA documents referenced below.
- MISRA C++ 2008, 6-5-6 - A loop-control-variable other than the loop-counter which is modified in statement shall have type bool.