Page 1 of 1

Rule 6-6-3 in while-loops

Posted: Tue Oct 29, 2019 7:00 am
by jungsun.goh
Dear MISRA members,

Regarding the rule 6-6-3:
Does this rule only apply to for-loops or does it also apply to while-loops?

For references, the static analysis tool, Coverity reports a 6-6-3 rule violation when 'continue' statement is used in a while-loop.

Best Regards,
Goh