transImplictCastExpr: LValueToRValue
parent
1f82c7ba22
commit
1692a76d28
|
@ -521,6 +521,9 @@ fn transImplicitCastExpr(
|
||||||
.FunctionToPointerDecay, .ArrayToPointerDecay => {
|
.FunctionToPointerDecay, .ArrayToPointerDecay => {
|
||||||
return maybeSuppressResult(rp, scope, result_used, sub_expr_node);
|
return maybeSuppressResult(rp, scope, result_used, sub_expr_node);
|
||||||
},
|
},
|
||||||
|
.LValueToRValue => {
|
||||||
|
return transExpr(rp, scope, sub_expr, .used, .r_value);
|
||||||
|
},
|
||||||
else => |kind| return revertAndWarn(
|
else => |kind| return revertAndWarn(
|
||||||
rp,
|
rp,
|
||||||
error.UnsupportedTranslation,
|
error.UnsupportedTranslation,
|
||||||
|
|
Loading…
Reference in New Issue