General reorganization, set any empty expression statement to nop. Version bump.

This commit is contained in:
Christoffer Lerno
2022-09-24 21:22:11 +02:00
parent 81bea9bad6
commit a4d4c27ca6
14 changed files with 126 additions and 106 deletions

View File

@@ -3977,9 +3977,10 @@ static void llvm_emit_const_expr(GenContext *c, BEValue *be_value, Expr *expr)
case CONST_ENUM:
llvm_value_set(be_value, llvm_const_int(c, type, expr->const_expr.enum_val->enum_constant.ordinal), type);
return;
default:
case CONST_UNTYPED_LIST:
UNREACHABLE
}
UNREACHABLE
}
static void llvm_expand_type_to_args(GenContext *context, Type *param_type, LLVMValueRef expand_ptr, LLVMValueRef **values, AlignSize alignment);