cppcheck/addons/test/misra
Sebastian 8d114a40e4
misra-test.c: Add more tests for rule 14.2 (including FP and FN) (#2399)
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
2019-11-30 11:27:31 +01:00
..
misra-suppressions1-test.c Update addons structure. Make Y2038 addon works. (#2024) 2019-07-26 06:38:03 +02:00
misra-suppressions2-test.c Update addons structure. Make Y2038 addon works. (#2024) 2019-07-26 06:38:03 +02:00
misra-test.c misra-test.c: Add more tests for rule 14.2 (including FP and FN) (#2399) 2019-11-30 11:27:31 +01:00
misra-test.cpp misra-test.cpp: Remove redundant unused function argument 2019-11-18 15:57:53 +01:00
misra-test.h Update addons structure. Make Y2038 addon works. (#2024) 2019-07-26 06:38:03 +02:00
misra2012_rules_dummy_ascii.txt Update addons structure. Make Y2038 addon works. (#2024) 2019-07-26 06:38:03 +02:00
misra2012_rules_dummy_utf8.txt Update addons structure. Make Y2038 addon works. (#2024) 2019-07-26 06:38:03 +02:00
misra2012_rules_dummy_windows1250.txt Update addons structure. Make Y2038 addon works. (#2024) 2019-07-26 06:38:03 +02:00
misra_rules_dummy.txt Update addons structure. Make Y2038 addon works. (#2024) 2019-07-26 06:38:03 +02:00
misra_rules_empty_lines.txt Update addons structure. Make Y2038 addon works. (#2024) 2019-07-26 06:38:03 +02:00
misra_rules_multiple_lines.txt Loosen restrictions on MISRA rules text structure (#2157) 2019-09-09 21:43:44 +02:00
misra_rules_structure.txt Update addons structure. Make Y2038 addon works. (#2024) 2019-07-26 06:38:03 +02:00
suppressions.txt Update addons structure. Make Y2038 addon works. (#2024) 2019-07-26 06:38:03 +02:00