| 605 | } |
| 606 | |
| 607 | std::list<SuppressionList::Suppression> SuppressionList::getUnmatchedInlineSuppressions() const |
| 608 | { |
| 609 | std::list<SuppressionList::Suppression> result; |
| 610 | for (const SuppressionList::Suppression &s : SuppressionList::mSuppressions) { |
| 611 | if (!s.isInline) |
| 612 | continue; |
| 613 | // TODO: remove this and markUnmatchedInlineSuppressionsAsChecked()? |
| 614 | if (!s.checked) |
| 615 | continue; |
| 616 | if (s.matched) |
| 617 | continue; |
| 618 | if (s.hash > 0) |
| 619 | continue; |
| 620 | result.push_back(s); |
| 621 | } |
| 622 | return result; |
| 623 | } |
| 624 | |
| 625 | std::list<SuppressionList::Suppression> SuppressionList::getSuppressions() const |
| 626 | { |
no test coverage detected