diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-11 22:33:03 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-11 22:33:03 +0200 |
| commit | 14d4977e2ab2409bb7344395ca01d19e49f130f1 (patch) | |
| tree | 5e08f1356a970b53f16ee554642eb555550d1491 /boot/ast.cc | |
| parent | b7dd49c1d5832ac7d82edba27316884ab53e614c (diff) | |
| download | elna-14d4977e2ab2409bb7344395ca01d19e49f130f1.tar.gz | |
Implement record extension
Diffstat (limited to 'boot/ast.cc')
| -rw-r--r-- | boot/ast.cc | 75 |
1 files changed, 35 insertions, 40 deletions
diff --git a/boot/ast.cc b/boot/ast.cc index 4270a3b..d0d19b7 100644 --- a/boot/ast.cc +++ b/boot/ast.cc @@ -19,184 +19,179 @@ along with GCC; see the file COPYING3. If not see namespace elna::boot { - void empty_visitor::not_implemented() - { - __builtin_unreachable(); - } - void empty_visitor::visit(array_type_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(pointer_type_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(type_declaration *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(record_type_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(union_type_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(procedure_type_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(enumeration_type_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(variable_declaration *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(constant_declaration *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(procedure_declaration *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(assign_statement *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(if_statement *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(import_declaration *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(while_statement *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(return_statement *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(defer_statement *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(empty_statement *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(case_statement *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(procedure_call *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(unit *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(cast_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(traits_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(binary_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(unary_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(named_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(array_access_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(field_access_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(dereference_expression *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(literal<std::int32_t> *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(literal<std::uint32_t> *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(literal<double> *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(literal<bool> *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(literal<unsigned char> *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(literal<std::nullptr_t> *) { - not_implemented(); + __builtin_unreachable(); } void empty_visitor::visit(literal<std::string> *) { - not_implemented(); + __builtin_unreachable(); } void walking_visitor::visit(import_declaration *) |
