cppcheck/addons/test/misra
Georgy Komarov 3944e70e02
misra.py: Treat enum constants as constant known at compile time (#2823)
C89 standard defines enum members as enumeration contants at ch.
6.4.4.3, and they are always known at compile time.

This commit fix false positives for rule 18.8 (and possible other rules
that check "constentess") with enumeration members.

Fix Trac#9913
2020-09-25 21:02:34 +02: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.py: Treat enum constants as constant known at compile time (#2823) 2020-09-25 21:02:34 +02:00
misra-test.cpp misra: updated test addons/test/misra/misra-test.cpp 2020-09-06 13:25:37 +02: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