[Ada] Iterate with procedural version of Next routine where possible
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 18 Mar 2020 22:57:10 +0000 (23:57 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 11 Jun 2020 09:53:52 +0000 (05:53 -0400)
commitcbbe41d1f7b87e4f1889d0412ee46517bb7d5674
tree629b3aedc9693e5675718e605d5c9cfdefd43fa5
parentadffc3672314dc260d5c692d2dce81d42cdb22dc
[Ada] Iterate with procedural version of Next routine where possible

2020-06-11  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* checks.adb, exp_ch7.adb, exp_ch9.adb, exp_smem.adb, lib.adb,
nlists.adb, sem.adb, sem_aggr.adb, sem_ch3.adb, sem_ch6.adb,
sem_ch8.adb, sem_dim.adb, sem_res.adb, sem_util.adb,
sem_warn.adb: Replace uses of Next function with procedure.
15 files changed:
gcc/ada/checks.adb
gcc/ada/exp_ch7.adb
gcc/ada/exp_ch9.adb
gcc/ada/exp_smem.adb
gcc/ada/lib.adb
gcc/ada/nlists.adb
gcc/ada/sem.adb
gcc/ada/sem_aggr.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_dim.adb
gcc/ada/sem_res.adb
gcc/ada/sem_util.adb
gcc/ada/sem_warn.adb