mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
General reorganization, set any empty expression statement to nop. Version bump.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user