aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2023-01-13 14:48:46 -0500
committerMarc Poulhiès <poulhies@adacore.com>2023-05-15 11:36:43 +0200
commitd41df0366e6dfbdc3a5a50577462a9b6689ebbfb (patch)
treeb5926ac57eda5319d83d36786d3ffc79fe55bf52 /libgcc
parent0ec72fa3db193354264d8c092da21f29fd473d88 (diff)
downloadgcc-d41df0366e6dfbdc3a5a50577462a9b6689ebbfb.zip
gcc-d41df0366e6dfbdc3a5a50577462a9b6689ebbfb.tar.gz
gcc-d41df0366e6dfbdc3a5a50577462a9b6689ebbfb.tar.bz2
ada: Use Inline aspect instead of pragma in Einfo.Utils
This package was using the Ada 83 renaming idiom for inlining Next_Component and other Next_... procedures without inlining the same-named functions. Using the Inline aspect avoids that sort of horsing around. We change all the other pragmas Inline in this package to aspects as well, which is a more-minor improvement. Fix too-long lines without wrapping lines. gcc/ada/ * einfo-utils.ads, einfo-utils.adb: Get rid of the Proc_Next_... procedures. Use Inline aspect instead of pragma Inline. Is_Discrete_Or_Fixed_Point_Type did not have pragma Inline, but now has the aspect; this was probably an oversight (which illustrates why aspects are better).
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions