diff options
Diffstat (limited to 'boot/ast.cc')
| -rw-r--r-- | boot/ast.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/boot/ast.cc b/boot/ast.cc index 2a90d0e..7157315 100644 --- a/boot/ast.cc +++ b/boot/ast.cc @@ -181,11 +181,6 @@ namespace elna::boot __builtin_unreachable(); } - void empty_visitor::visit(literal<std::int32_t> *) - { - __builtin_unreachable(); - } - void empty_visitor::visit(literal<integer_literal> *) { __builtin_unreachable(); @@ -509,10 +504,6 @@ namespace elna::boot expression->base().accept(this); } - void walking_visitor::visit(literal<std::int32_t> *) - { - } - void walking_visitor::visit(literal<integer_literal> *) { } @@ -979,7 +970,7 @@ namespace elna::boot { } - procedure_body::procedure_body(procedure_body&& that) + procedure_body::procedure_body(procedure_body&& that) noexcept : variables(std::move(const_cast<std::vector<variable_declaration *>&>(that.variables))), entry_point(std::move(const_cast<std::vector<statement *>&>(that.entry_point))), return_expression(that.return_expression) |
