(self, data)
| 3969 | self.reportError(directive, 21, 5) |
| 3970 | |
| 3971 | def misra_21_6(self, data): |
| 3972 | for token in data.tokenlist: |
| 3973 | if not isFunctionCall(token) or token.previous.function: |
| 3974 | continue |
| 3975 | standard_id = getStdLib(data.standards.c) |
| 3976 | funcname = token.previous.str |
| 3977 | if funcname in standard_id.get("stdio.h", []) or funcname in standard_id.get("wchar.h", []): |
| 3978 | self.reportError(token, 21, 6) |
| 3979 | |
| 3980 | def misra_21_7(self, data): |
| 3981 | for token in data.tokenlist: |
nothing calls this directly
no test coverage detected