c++: use range-for more
authorJason Merrill <jason@redhat.com>
Sat, 23 Oct 2021 09:45:02 +0000 (05:45 -0400)
committerJason Merrill <jason@redhat.com>
Thu, 4 Nov 2021 15:35:54 +0000 (11:35 -0400)
commitfae00a0ac0e5687343a60ae02bf60352002ab9aa
treeb929b52de9cd73a11c5fcf2848b8ea23a84e009d
parenteb04ccf4bfd6586cf0d22d439de28a4e6c649182
c++: use range-for more

gcc/cp/ChangeLog:

* call.c (build_array_conv): Use range-for.
(build_complex_conv): Likewise.
* constexpr.c (clear_no_implicit_zero)
(reduced_constant_expression_p): Likewise.
* decl.c (cp_complete_array_type): Likewise.
* decl2.c (mark_vtable_entries): Likewise.
* pt.c (iterative_hash_template_arg):
(invalid_tparm_referent_p, unify)
(type_dependent_expression_p): Likewise.
* typeck.c (build_ptrmemfunc_access_expr): Likewise.
gcc/cp/call.c
gcc/cp/constexpr.c
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/cp/typeck.c