mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Several fixes for the compiler (#2422)
* Update .gitignore for nix * Fix build failure when compiling with -Werror=maybe-uninitialized * Fix test failure formatting * Add separateDebugInfo to c3c Nix build
This commit is contained in:
@@ -2643,8 +2643,8 @@ static void llvm_emit_slice_values(GenContext *c, Expr *slice, BEValue *parent_r
|
||||
BEValue parent_addr_x;
|
||||
llvm_emit_expr(c, &parent_addr_x, parent_expr);
|
||||
LLVMValueRef parent_load_value = NULL;
|
||||
LLVMValueRef parent_base;
|
||||
LLVMValueRef parent_addr;
|
||||
LLVMValueRef parent_base = NULL;
|
||||
LLVMValueRef parent_addr = NULL;
|
||||
if (parent_type->type_kind == TYPE_POINTER)
|
||||
{
|
||||
llvm_value_rvalue(c, &parent_addr_x);
|
||||
|
||||
Reference in New Issue
Block a user