Simplify narrowing semantics.

This commit is contained in:
Christoffer Lerno
2023-03-02 22:04:15 +01:00
parent 3449d2ea88
commit a2911292d8
12 changed files with 165 additions and 330 deletions

View File

@@ -2783,7 +2783,6 @@ bool sema_analyse_var_decl(SemaContext *context, Decl *decl, bool local)
}
if (init_expr->expr_kind == EXPR_CONST)
{
init_expr->const_expr.narrowable = false;
init_expr->const_expr.is_hex = false;
}
}