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

Method errorMessage

test/testsuppressions.cpp:218–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 }
217
218 static SuppressionList::ErrorMessage errorMessage(const std::string &errorId) {
219 SuppressionList::ErrorMessage ret;
220 ret.errorId = errorId;
221 ret.hash = 0;
222 ret.lineNumber = 0;
223 ret.certainty = Certainty::normal;
224 return ret;
225 }
226
227 static SuppressionList::ErrorMessage errorMessage(const std::string &errorId, const std::string &file, int line) {
228 SuppressionList::ErrorMessage ret;

Callers

nothing calls this directly

Calls 1

setFileNameMethod · 0.45

Tested by

no test coverage detected