cppcheck/addons/test/misra
Georgy Komarov 7ce8ae408a misra.py: Fix R12.3 false negative in variables declaration (#2431)
* misra.py: Allow executeCheck take multiple args

* misra.py: Fix R12.3 FN in variables declaration

Make rule 12.3 check detect commas in variables declaration code.

* Fix excluded lines

* Add support for global variables

* Fix FN when linenr from other file was excluded

* Add a few more tests

* Handle more cases

Handle additional cases to check commans in variables declaration
including:
* multiline variables declaration
* functions and structures initialized in the same line
* expanding macroses in initialization

* Fix FP in global struct initialization

* Add another test
2019-12-18 11:05:57 +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.py: Fix R12.3 false negative in variables declaration (#2431) 2019-12-18 11:05:57 +01:00
misra-test.cpp misra.py: Fix crash on c++ code (#2414) 2019-12-01 14:51:12 +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