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

Method tool

gui/erroritem.cpp:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60QString ErrorItem::tool() const
61{
62 if (errorId == CLANG_ANALYZER)
63 return CLANG_ANALYZER;
64 if (errorId.startsWith(CLANG_TIDY))
65 return CLANG_TIDY;
66 if (errorId.startsWith("clang-"))
67 return "clang";
68 return "cppcheck";
69}
70
71QString ErrorItem::toString() const
72{

Callers 1

errorMethod · 0.80

Calls 1

startsWithMethod · 0.80

Tested by

no test coverage detected