| 42 | static const char ID_CHECKERSREPORT[] = "checkersReport"; |
| 43 | |
| 44 | SuppressionList::ErrorMessage SuppressionList::ErrorMessage::fromErrorMessage(const ::ErrorMessage &msg, const std::set<std::string> ¯oNames) |
| 45 | { |
| 46 | SuppressionList::ErrorMessage ret; |
| 47 | ret.hash = msg.hash; |
| 48 | ret.errorId = msg.id; |
| 49 | if (!msg.callStack.empty()) { |
| 50 | ret.setFileName(msg.callStack.back().getfile(false)); |
| 51 | ret.lineNumber = msg.callStack.back().line; |
| 52 | } else { |
| 53 | ret.setFileName(msg.file0); |
| 54 | ret.lineNumber = SuppressionList::Suppression::NO_LINE; |
| 55 | } |
| 56 | ret.certainty = msg.certainty; |
| 57 | ret.symbolNames = msg.symbolNames(); |
| 58 | ret.macroNames = macroNames; |
| 59 | return ret; |
| 60 | } |
| 61 | |
| 62 | static bool isAcceptedErrorIdChar(char c) |
| 63 | { |
nothing calls this directly
no test coverage detected