Commit 148e1fdf authored by Tobias Hunger's avatar Tobias Hunger
Browse files

QMLJS: Remove dead code

Change-Id: Ieb98a43ad1f5169b8da4c5d662a8f73605e2654f

Reviewed-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarThomas Hartmann <>
parent 6e5db5f4
......@@ -157,19 +157,6 @@ bool isEnum(AST::ExpressionNode *ast)
return false;
bool isEnum(AST::ExpressionStatement *ast)
if (!ast)
return false;
if (FieldMemberExpression *memberExpr = cast<AST::FieldMemberExpression*>(ast->expression))
return isEnum(memberExpr->base);
else if (cast<IdentifierExpression*>(ast->expression))
return true;
return false;
static bool isEnum(AST::Statement *ast)
if (!ast)
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