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 | ||
path1 | ||
threadsafety | ||
y2038 | ||
__init__.py | ||
cert-test.c | ||
cert-test.cpp | ||
misc-test.cpp | ||
naming_test.c | ||
naming_test.cpp | ||
namingng_test.c | ||
test-cert.py | ||
test-misra.py | ||
test-y2038.py | ||
util.py |