(self, cfg)
| 4180 | self.reportError(token, 21, 21) |
| 4181 | |
| 4182 | def misra_22_5(self, cfg): |
| 4183 | for token in cfg.tokenlist: |
| 4184 | if token.isUnaryOp("*") or (token.isBinaryOp() and token.str == '.'): |
| 4185 | fileptr = token.astOperand1 |
| 4186 | if fileptr.variable and cppcheckdata.simpleMatch(fileptr.variable.typeStartToken, 'FILE *'): |
| 4187 | self.reportError(token, 22, 5) |
| 4188 | |
| 4189 | def misra_22_7(self, cfg): |
| 4190 | for eofToken in cfg.tokenlist: |
nothing calls this directly
no test coverage detected