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

Method _checkSuppression

test/testsuppressions.cpp:327–332  ·  view source on GitHub ↗

Check the suppression

Source from the content-addressed store, hash-verified

325
326 // Check the suppression
327 unsigned int _checkSuppression(const char code[], bool useFS, const std::string &suppression = "") {
328 std::map<std::string, std::string> files;
329 files["test.cpp"] = code;
330
331 return _checkSuppression(files, useFS, suppression);
332 }
333
334 unsigned int checkSuppressionFiles(std::map<std::string, std::string> &f, const std::string &suppression = "") {
335 return _checkSuppression(f, false, suppression);

Callers

nothing calls this directly

Calls 7

addSuppressionLineMethod · 0.80
enableMethod · 0.80
setEnabledMethod · 0.80
sizeMethod · 0.45
emptyMethod · 0.45
clearMethod · 0.45
checkMethod · 0.45

Tested by

no test coverage detected