aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-expr.h
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2025-03-19 17:30:01 -0700
committerArthur Cohen <arthur.cohen@embecosm.com>2025-04-14 18:23:52 +0200
commitec2edeffedeaaeceecf8c85fded9fd2ee3c1aa52 (patch)
tree0d371089c16ad4e14f4982bbde01052fc8373bb4 /gcc/rust/ast/rust-expr.h
parenta2db03fdf37ba823c9acf479aaed841b7d0de761 (diff)
downloadgcc-ec2edeffedeaaeceecf8c85fded9fd2ee3c1aa52.zip
gcc-ec2edeffedeaaeceecf8c85fded9fd2ee3c1aa52.tar.gz
gcc-ec2edeffedeaaeceecf8c85fded9fd2ee3c1aa52.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/ast/rust-expr.h')
0 files changed, 0 insertions, 0 deletions