frontends/ast: code style
authorDavid Shah <dave@ds0.me>
Thu, 3 Oct 2019 08:55:43 +0000 (09:55 +0100)
committerDavid Shah <dave@ds0.me>
Thu, 3 Oct 2019 08:55:43 +0000 (09:55 +0100)
Signed-off-by: David Shah <dave@ds0.me>
frontends/ast/simplify.cc

index 0ebc183b2c4b128c9d70a3fc04a23a66b8679563..44fd32cdc8e68cb2442be00ae89d1b5cc08e4481 100644 (file)
@@ -786,9 +786,8 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage,
        if (type == AST_TYPEDEF) {
                log_assert(children.size() == 1);
                log_assert(children[0]->type == AST_WIRE || children[0]->type == AST_MEMORY);
-               while(children[0]->simplify(const_fold, at_zero, in_lvalue, stage, width_hint, sign_hint, in_param)) {
+               while(children[0]->simplify(const_fold, at_zero, in_lvalue, stage, width_hint, sign_hint, in_param))
                        did_something = true;
-               };
                log_assert(!children[0]->is_custom_type);
        }