]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Clean up Get_Index_Bounds
authorBob Duff <duff@adacore.com>
Fri, 23 Apr 2021 12:17:28 +0000 (08:17 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 5 Jul 2021 13:09:09 +0000 (13:09 +0000)
commit7c4f32677bb64c3423893441541d520097f238c5
tree56e9c4dce17b951a7be9380e4eb1eb2b4d078ee0
parent8926c29c5f512203b6ed6e1e944738fc0a6f0c4c
[Ada] Clean up Get_Index_Bounds

gcc/ada/

* checks.adb, exp_aggr.adb, exp_ch5.adb, freeze.adb,
sem_util.adb, sem_util.ads: Change L and H to be First and Last,
to match the attributes in the RM. Change calls from procedure
to function where appropriate.
gcc/ada/checks.adb
gcc/ada/exp_aggr.adb
gcc/ada/exp_ch5.adb
gcc/ada/freeze.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads