| ... | @@ -521,6 +521,9 @@ fn transImplicitCastExpr( | ... | @@ -521,6 +521,9 @@ fn transImplicitCastExpr( |
| 521 | .FunctionToPointerDecay, .ArrayToPointerDecay => { | 521 | .FunctionToPointerDecay, .ArrayToPointerDecay => { |
| 522 | return maybeSuppressResult(rp, scope, result_used, sub_expr_node); | 522 | return maybeSuppressResult(rp, scope, result_used, sub_expr_node); |
| 523 | }, | 523 | }, |
| | 524 | .LValueToRValue => { |
| | 525 | return transExpr(rp, scope, sub_expr, .used, .r_value); |
| | 526 | }, |
| 524 | else => |kind| return revertAndWarn( | 527 | else => |kind| return revertAndWarn( |
| 525 | rp, | 528 | rp, |
| 526 | error.UnsupportedTranslation, | 529 | error.UnsupportedTranslation, |