mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Fix some bugs, satisfy more compilers.
This commit is contained in:
@@ -240,6 +240,7 @@ LLVMValueRef gencontext_emit_unary_expr(GenContext *context, Expr *expr)
|
||||
case UNARYOP_DEC:
|
||||
return gencontext_emit_pre_inc_dec(context, expr->unary_expr.expr, -1, false);
|
||||
}
|
||||
UNREACHABLE
|
||||
}
|
||||
|
||||
|
||||
@@ -430,6 +431,7 @@ static LLVMValueRef gencontext_emit_binary(GenContext *context, Expr *expr, LLVM
|
||||
case BINARYOP_SHL_ASSIGN:
|
||||
UNREACHABLE
|
||||
}
|
||||
UNREACHABLE
|
||||
}
|
||||
|
||||
LLVMValueRef gencontext_emit_post_unary_expr(GenContext *context, Expr *expr)
|
||||
|
||||
Reference in New Issue
Block a user