https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119341

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Arthur Cohen <cohenart...@gcc.gnu.org>:

https://gcc.gnu.org/g:ec2edeffedeaaeceecf8c85fded9fd2ee3c1aa52

commit r15-9437-gec2edeffedeaaeceecf8c85fded9fd2ee3c1aa52
Author: Andrew Pinski <quic_apin...@quicinc.com>
Date:   Wed Mar 19 17:30:01 2025 -0700

    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_apin...@quicinc.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to