MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / isSuppressed

Method isSuppressed

gui/checkthread.cpp:445–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443}
444
445bool CheckThread::isSuppressed(const SuppressionList::ErrorMessage &errorMessage) const
446{
447 return std::any_of(mSuppressionsUi.cbegin(), mSuppressionsUi.cend(), [&](const SuppressionList::Suppression& s) -> bool {
448 return s.isSuppressed(errorMessage) == SuppressionList::Suppression::Result::Matched;
449 });
450}
451
452QString CheckThread::clangCmd()
453{

Callers 15

hasToLogMethod · 0.45
suppressionsDosFormatMethod · 0.45
suppressionsGlobMethod · 0.45
suppressionsGlobIdMethod · 0.45
suppressionsLine0Method · 0.45
symbolMethod · 0.45

Calls

no outgoing calls

Tested by 15

suppressionsDosFormatMethod · 0.36
suppressionsGlobMethod · 0.36
suppressionsGlobIdMethod · 0.36
suppressionsLine0Method · 0.36
symbolMethod · 0.36
suppressLocalMethod · 0.36