[Ada] Simplify iteration over components
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 16 Jan 2020 17:50:05 +0000 (18:50 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 5 Jun 2020 12:17:47 +0000 (08:17 -0400)
commit50554999f23127a962ef17f1ea06961a09811f75
tree27d7f93449e9daba4f8ede0945bcff3206b3d461
parentc7d193178f7b3a7747849d4f8574091bc2d4a7f8
[Ada] Simplify iteration over components

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

gcc/ada/

* einfo.adb: Minor reformatting.
* sem_util.adb (Has_Full_Default_Initialization,
Is_Partially_Initialized_Type, Caller_Known_Size_Record,
Large_Max_Size_Mutable): Iterate with
First_Component/Next_Component; rename Ent to Comp.
gcc/ada/einfo.adb
gcc/ada/sem_util.adb