(self, location, errmsg)
| 4474 | self.addSuppressedRule(ruleNum) |
| 4475 | |
| 4476 | def report_config_error(self, location, errmsg): |
| 4477 | errmsg = 'Because of missing configuration, misra checking is incomplete. There can be false negatives! ' + errmsg |
| 4478 | cppcheck_severity = 'error' |
| 4479 | error_id = 'config' |
| 4480 | if self.settings.verify: |
| 4481 | self.verify_actual.append('%s:%d %s' % (location.file, location.linenr, error_id)) |
| 4482 | else: |
| 4483 | cppcheckdata.reportError(location, cppcheck_severity, errmsg, 'misra', error_id) |
| 4484 | |
| 4485 | def reportError(self, location, num1, num2): |
| 4486 | ruleNum = num1 * 100 + num2 |
no test coverage detected