diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-11-22 12:53:15 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-12-02 16:26:22 +0000 |
commit | ea7f9e0530251152b5e6a99f36515032f318c4d1 (patch) | |
tree | 136880688f957a4c2ca257f802f7d5b4b4ff6230 /gcc/ada/sem_ch12.adb | |
parent | 1fde9333dc31007083ac792896820ca29837c342 (diff) | |
download | gcc-ea7f9e0530251152b5e6a99f36515032f318c4d1.zip gcc-ea7f9e0530251152b5e6a99f36515032f318c4d1.tar.gz gcc-ea7f9e0530251152b5e6a99f36515032f318c4d1.tar.bz2 |
[Ada] Simplify iteration over record components
gcc/ada/
* freeze.adb (Freeze_Entity): Replace First_Entity/Next_Entity
with First_Component/Next_Component; remove condition with Ekind
equal to E_Component.
* sem_ch13.adb (Check_Record_Representation_Clause): Likewise
for component-or-discriminant.
* sem_util.adb (Is_Fully_Initialized_Type): Likewise; rename Ent
to a more specific Comp.
* sem_warn.adb (Check_References): Likewise.
Diffstat (limited to 'gcc/ada/sem_ch12.adb')
0 files changed, 0 insertions, 0 deletions