26 : file(QString::fromStdString(loc.getfile(false)))
29 , info(QString::fromStdString(loc.getinfo()))
45 : file0(QString::fromStdString(errmsg.file0))
46 , errorId(QString::fromStdString(errmsg.id))
47 , severity(errmsg.severity)
49 , summary(QString::fromStdString(errmsg.shortMessage()))
50 , message(QString::fromStdString(errmsg.verboseMessage()))
53 , symbolNames(QString::fromStdString(errmsg.symbolNames()))
55 for (std::list<ErrorMessage::FileLocation>::const_iterator loc = errmsg.
callStack.cbegin();
68 if (
errorId.startsWith(
"clang-"))
77 str +=
"inconclusive ";
82 str +=
" " + i.file +
": " + QString::number(i.line) +
"\n";
89 if (errorItem1.
hash || errorItem2.
hash)
90 return errorItem1.
hash == errorItem2.
hash;
A class containing error data for one error.
QString toString() const
Convert error item to string.
static bool sameCID(const ErrorItem &errorItem1, const ErrorItem &errorItem2)
Compare "CID".
QList< QErrorPathItem > errorPath
File name and line number.
Wrapper for error messages, provided by reportErr()
std::list< FileLocation > callStack
static QString toString(Severity severity)
A class containing data for one error path item.
Severity
enum class for severity.
bool operator==(const QErrorPathItem &i1, const QErrorPathItem &i2)