aboutsummaryrefslogtreecommitdiff
path: root/boot/ast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'boot/ast.cc')
-rw-r--r--boot/ast.cc75
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 *)