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

Function getSeverity

gui/resultstree.cpp:128–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128static Severity getSeverity(ReportType reportType, const ErrorItem& errorItem) {
129 return reportType == ReportType::normal ? errorItem.severity : getSeverityFromClassification(errorItem.classification);
130}
131
132ResultsTree::ResultsTree(QWidget * parent) :
133 QTreeView(parent),

Calls 1

Tested by

no test coverage detected