aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 42e434f85..25e5550b5 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -10175,7 +10175,6 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type
case Ast_MapType:
case Ast_OpaqueType:
case Ast_BitSetType:
- case Ast_BitFieldType:
o->mode = Addressing_Type;
o->type = check_type(c, node);
break;
@@ -10594,21 +10593,6 @@ gbString write_expr_to_string(gbString str, Ast *node, bool shorthand) {
str = write_expr_to_string(str, at->elem, shorthand);
case_end;
- case_ast_node(bf, BitFieldType, node);
- str = gb_string_appendc(str, "bit_field ");
- if (bf->align) {
- str = gb_string_appendc(str, "#align ");
- str = write_expr_to_string(str, bf->align, shorthand);
- }
- str = gb_string_appendc(str, "{");
- if (shorthand) {
- str = gb_string_appendc(str, "...");
- } else {
- str = write_struct_fields_to_string(str, bf->fields);
- }
- str = gb_string_appendc(str, "}");
- case_end;
-
case_ast_node(bs, BitSetType, node);
str = gb_string_appendc(str, "bit_set[");
str = write_expr_to_string(str, bs->elem, shorthand);