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
misra-suppressions2-test.c
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
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 Loosen restrictions on MISRA rules text structure (#2157) 2019-09-09 21:43:44 +02:00
misra_rules_structure.txt
suppressions.txt