This commit allows to specify expected suppressions in the included header files. This is necessary to verify MISRA checkers, which make requirements for header files. For example, Rule 8.2 requires adding prototypes for each function to the header files.
7 lines
148 B
C
7 lines
148 B
C
#ifndef MISRA_TEST_H
|
|
#define MISRA_TEST_H
|
|
struct misra_h_s { int foo; };
|
|
bool test(char *); // 8.2
|
|
bool test(char *a); // OK
|
|
#endif // MISRA_TEST_H
|