aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2025-03-19 17:30:01 -0700
committerCohenArthur <arthur.cohen@embecosm.com>2025-04-10 15:53:50 +0000
commitf20261115987df04a9e62dd9e857561fb1530c8e (patch)
treee2222902f7e022ce5f6b842c04fa85bdbc1b3328 /gcc/rust/hir
parent4b64c35a8f6093eb3851f9149e2465117c392492 (diff)
downloadgcc-f20261115987df04a9e62dd9e857561fb1530c8e.zip
gcc-f20261115987df04a9e62dd9e857561fb1530c8e.tar.gz
gcc-f20261115987df04a9e62dd9e857561fb1530c8e.tar.bz2
rust: use range for inside rust-gcc.cc [PR119341]
There are some places inside rust-gcc.cc which are candidates to use range for instead of iterators directly. This changes the locations I saw and makes the code slightly more readable. gcc/rust/ChangeLog: PR rust/119341 * rust-gcc.cc (function_type): Use range fors. (function_type_variadic): Likewise. (fill_in_fields): Likewise. (statement_list): Likewise. (block): Likewise. (block_add_statements): Likewise. (function_set_parameters): Likewise. (write_global_definitions): Likewise. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions