From 41b854f192a5a7d190a4b49496638254ed0dbb64 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 23 Feb 2021 15:45:06 +0000 Subject: Remove `#opaque` types --- src/check_type.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/check_type.cpp') diff --git a/src/check_type.cpp b/src/check_type.cpp index df8a54806..6377f4e6e 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -3352,13 +3352,6 @@ bool check_type_internal(CheckerContext *ctx, Ast *e, Type **type, Type *named_t return true; case_end; - case_ast_node(ot, OpaqueType, e); - Type *elem = strip_opaque_type(check_type_expr(ctx, ot->type, nullptr)); - *type = alloc_type_opaque(elem); - set_base_type(named_type, *type); - return true; - case_end; - case_ast_node(at, ArrayType, e); if (at->count != nullptr) { Operand o = {}; -- cgit v1.2.3