Convert explicit iterator uses to foreach
authorTom Tromey <tom@tromey.com>
Fri, 20 Jan 2023 03:14:25 +0000 (20:14 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 19 Feb 2023 19:51:06 +0000 (12:51 -0700)
commit1c49bb455c2b401b508b3f3d5924ba461e153ad4
treee89df3f1f33eb458fb41d075ba57a43c5c072ed2
parent0f50815c894bea5d8f7c14b7c1639325bd0b4abb
Convert explicit iterator uses to foreach

This converts most existing explicit uses of block_iterator to use
foreach with the range iterator instead.
gdb/ada-lang.c
gdb/compile/compile-c-symbols.c
gdb/guile/scm-block.c