forked from qt-creator/qt-creator
QmlJSParser: Fix build issue with clang
Erik promised to fix this upstream. Change-Id: If78e7eee20188d3be77ca9e7e53714ea5740d4d8 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -162,7 +162,7 @@ public:
|
|||||||
inline DiagnosticMessage diagnosticMessage() const
|
inline DiagnosticMessage diagnosticMessage() const
|
||||||
{
|
{
|
||||||
foreach (const DiagnosticMessage &d, diagnostic_messages) {
|
foreach (const DiagnosticMessage &d, diagnostic_messages) {
|
||||||
if (! d.kind == DiagnosticMessage::Warning)
|
if (d.kind != DiagnosticMessage::Warning)
|
||||||
return d;
|
return d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user