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

Method reportErr

gui/threadresult.cpp:53–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void ThreadResult::reportErr(const ErrorMessage &msg)
54{
55 std::lock_guard<std::mutex> locker(mutex);
56 const ErrorItem item(msg);
57 if (msg.severity != Severity::debug)
58 emit error(item);
59 else
60 emit debugError(item);
61}
62
63// NOLINTNEXTLINE(readability-avoid-const-params-in-decls) - false positive this is an overload
64void ThreadResult::reportProgress(const std::string &filename, const char stage[], const std::size_t value) {

Callers 1

parseClangErrorsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected