report an error */
| 51 | |
| 52 | /** report an error */ |
| 53 | void reportError(const Token *tok, const Severity severity, const std::string &id, const std::string &msg) { |
| 54 | reportError(tok, severity, id, msg, CWE(0U), Certainty::normal); |
| 55 | } |
| 56 | |
| 57 | /** report an error */ |
| 58 | void reportError(const Token *tok, const Severity severity, const std::string &id, const std::string &msg, const CWE &cwe, Certainty certainty) { |
no test coverage detected