diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2024-04-23 14:37:54 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-06-13 15:30:28 +0200 |
commit | f90851a93c921babd092551eda1e70718e6494fb (patch) | |
tree | 4f62808dd7cf6b9bacfc6cc233c2c4eff991de67 /gcc/cp/parser.cc | |
parent | 22085d1900b9c3e214f837a5549e9c9c56a69b99 (diff) | |
download | gcc-f90851a93c921babd092551eda1e70718e6494fb.zip gcc-f90851a93c921babd092551eda1e70718e6494fb.tar.gz gcc-f90851a93c921babd092551eda1e70718e6494fb.tar.bz2 |
ada: Simplify checks for Address and Object_Size clauses
Where possible, we can use high-level wrapper routines instead of the
low-level Get_Attribute_Definition_Clause.
Code cleanup; semantics is unaffected.
gcc/ada/
* layout.adb (Layout_Type): Use high-level wrapper routine.
* sem_ch13.adb (Inherit_Delayed_Rep_Aspects): Likewise.
* sem_ch3.adb (Analyze_Object_Declaration): Likewise.
Diffstat (limited to 'gcc/cp/parser.cc')
0 files changed, 0 insertions, 0 deletions