Adding more tests for rule 14.2 revealed a false negative when the loop counter is changed inside the loop. Corresponding line in the example suite: https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/blob/master/R_14_02.c#L39 Also a false positive has been revealed when the loop counter is initialized in a function that is called in the first `for` clause. Corresponding line in the example suite: https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/blob/master/R_14_02.c#L43 |
||
---|---|---|
.. | ||
misra-suppressions1-test.c | ||
misra-suppressions2-test.c | ||
misra-test.c | ||
misra-test.cpp | ||
misra-test.h | ||
misra2012_rules_dummy_ascii.txt | ||
misra2012_rules_dummy_utf8.txt | ||
misra2012_rules_dummy_windows1250.txt | ||
misra_rules_dummy.txt | ||
misra_rules_empty_lines.txt | ||
misra_rules_multiple_lines.txt | ||
misra_rules_structure.txt | ||
suppressions.txt |