(self, data)
| 3954 | self.reportError(tok, 21, 2) |
| 3955 | |
| 3956 | def misra_21_3(self, data): |
| 3957 | for token in data.tokenlist: |
| 3958 | if isFunctionCall(token, data.standards.c) and (token.astOperand1.str in ('malloc', 'calloc', 'realloc', 'free')): |
| 3959 | self.reportError(token, 21, 3) |
| 3960 | |
| 3961 | def misra_21_4(self, data): |
| 3962 | directive = findInclude(data.directives, '<setjmp.h>') |
nothing calls this directly
no test coverage detected