| 92 | } |
| 93 | |
| 94 | void writeSuppr(const SuppressionList &supprs) const { |
| 95 | for (const auto& suppr : supprs.getSuppressions()) |
| 96 | { |
| 97 | if (suppr.isInline) |
| 98 | writeToPipe(REPORT_SUPPR_INLINE, suppressionToString(suppr)); |
| 99 | else if (suppr.checked) |
| 100 | writeToPipe(REPORT_SUPPR, suppressionToString(suppr)); |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | void reportMetric(const std::string &metric) override { |
| 105 | writeToPipe(REPORT_METRIC, metric); |