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

Method addSuppressions

lib/suppressions.cpp:319–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319std::string SuppressionList::addSuppressions(std::list<Suppression> suppressions)
320{
321 for (auto &newSuppression : suppressions) {
322 auto errmsg = addSuppression(std::move(newSuppression));
323 if (!errmsg.empty())
324 return errmsg;
325 }
326 return "";
327}
328
329bool SuppressionList::updateSuppressionState(const SuppressionList::Suppression& suppression)
330{

Callers 2

checkMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected