aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-11-19 17:24:59 +0100
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-11-20 13:36:42 +0000
commit690eb22f6cac7be9de759dd336b042304b27fe72 (patch)
treeb579b0f7694994777d8c6a3aa8ad93def89c2828 /gcc/rust/hir/rust-hir-dump.cc
parentcd37d69a6347882723f6aa1d373995ac3bcb1378 (diff)
downloadgcc-690eb22f6cac7be9de759dd336b042304b27fe72.zip
gcc-690eb22f6cac7be9de759dd336b042304b27fe72.tar.gz
gcc-690eb22f6cac7be9de759dd336b042304b27fe72.tar.bz2
Refactor optional initializers
Refactor some optional initializer in the lowering stage to make them more readable. gcc/rust/ChangeLog: * hir/rust-ast-lower-stmt.cc (ASTLoweringStmt::visit): Change the ternary expression with a more readable if. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions