b1e92fc399
* Fix misra 8.7 false positives on single function usage When there is a single usage of a function, we should first check if the file it is used in, is the same one it was defined in. When this is not the case, there is no violatior to be reported. * Fix misra rule 5.9 false positives for exception The exception for rule 5.9 described in the guidelines allows for multiple definitions of internal linkage obejcts when these regard a static inlined function defined in the same header file. * Fix neglecting of inline keyword flag upon simplifications When the inline keyword is being "simplified" and the inline flag is degated to the next token. However, this information might be lost if the next token itself is simplified/deleted in a futher pass. Therefore, we must propagated the flag to all the next named tokens, so we can make sure the function name token itself is tagged with this property. * add tests for misra addon rules 8.7 and 5.9 |
||
---|---|---|
.. | ||
misra-ctu-1-test.c | ||
misra-ctu-2-test.c | ||
misra-ctu-test.h | ||
misra-suppressions1-test.c | ||
misra-suppressions2-test.c | ||
misra-test-avr8.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 |