Commit 886e1a72 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

QmlJSParser: Fix build issue with clang

Erik promised to fix this upstream.

Change-Id: If78e7eee20188d3be77ca9e7e53714ea5740d4d8
Reviewed-by: default avatarTobias Hunger <>
parent 07966845
......@@ -162,7 +162,7 @@ public:
inline DiagnosticMessage diagnosticMessage() const
foreach (const DiagnosticMessage &d, diagnostic_messages) {
if (! d.kind == DiagnosticMessage::Warning)
if (d.kind != DiagnosticMessage::Warning)
return d;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment