ada: Use procedural variant of Next_Index where possible
commit93d0457ec9c03acd009eef3cd5b725172e988648
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 9 Mar 2023 23:14:32 +0000 (10 00:14 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 25 May 2023 07:44:19 +0000 (25 09:44 +0200)
treeb3a268a631b3869f6b094dc87b94f10ed072838d
parentf7f8e290a11a2d1ab0eefa5a87d4d56f0146f9d4
ada: Use procedural variant of Next_Index where possible

Code cleanup; semantics is unaffected.

gcc/ada/

* einfo-utils.adb (Write_Entity_Info): Use procedural Next_Index.
* sem_aggr.adb (Collect_Aggr_Bounds): Reuse local constant.
(Resolve_Null_Array_Aggregate): Use procedural Next_Index.
gcc/ada/einfo-utils.adb
gcc/ada/sem_aggr.adb