Remove AstTypeType

This commit is contained in:
gingerBill
2018-10-13 14:07:00 +01:00
parent 2d4aa2be6d
commit ef2931d4a5
5 changed files with 3 additions and 59 deletions

View File

@@ -6130,7 +6130,6 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type
case_end;
case Ast_TypeidType:
case Ast_TypeType:
case Ast_PolyType:
case Ast_ProcType:
case Ast_PointerType:
@@ -6573,14 +6572,6 @@ gbString write_expr_to_string(gbString str, Ast *node) {
str = gb_string_appendc(str, ")");
case_end;
case_ast_node(tt, TypeType, node);
str = gb_string_appendc(str, "type");
if (tt->specialization) {
str = gb_string_appendc(str, "/");
str = write_expr_to_string(str, tt->specialization);
}
case_end;
case_ast_node(tt, TypeidType, node);
str = gb_string_appendc(str, "typeid");
if (tt->specialization) {