diff options
author | Marc Poulhiès <poulhies@adacore.com> | 2024-08-09 18:08:01 +0200 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-09-03 10:16:38 +0200 |
commit | b3f6a7909149a5eff2b9e2a5d28439cccd7902df (patch) | |
tree | 60b9700cc8aa1824707db3d7d2f45fbee32b2fc0 /gcc/ada/rtsfind.adb | |
parent | 1ef11f4bed8eb230f04e5fb09741ae6444ca3e7b (diff) | |
download | gcc-b3f6a7909149a5eff2b9e2a5d28439cccd7902df.zip gcc-b3f6a7909149a5eff2b9e2a5d28439cccd7902df.tar.gz gcc-b3f6a7909149a5eff2b9e2a5d28439cccd7902df.tar.bz2 |
ada: Simplify Note_Uplevel_Bound procedure
The procedure Note_Uplevel_Bound was implemented as a custom expression
tree walk. This change replaces this custom tree traversal by a more
idiomatic use of Traverse_Proc.
gcc/ada/
* exp_unst.adb (Check_Static_Type::Note_Uplevel_Bound): Refactor
to use the generic Traverse_Proc.
(Check_Static_Type): Adjust calls to Note_Uplevel_Bound as the
previous second parameter was unused, so removed.
Diffstat (limited to 'gcc/ada/rtsfind.adb')
0 files changed, 0 insertions, 0 deletions