diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2024-12-04 16:22:05 +0100 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2025-01-03 16:39:12 +0100 |
commit | b045b3e266f9897a0e3fe15d333bdcb486ae288b (patch) | |
tree | 00f6c1887c474ece8658b1965b6e367dff2c095e /gcc | |
parent | fbe14f65eddd7f450079cff893a2ddc8fb454543 (diff) | |
download | gcc-b045b3e266f9897a0e3fe15d333bdcb486ae288b.zip gcc-b045b3e266f9897a0e3fe15d333bdcb486ae288b.tar.gz gcc-b045b3e266f9897a0e3fe15d333bdcb486ae288b.tar.bz2 |
ada: Assorted style cleanups
Whitespace and comment cleanups.
gcc/ada/ChangeLog:
* sem_attr.adb (Eval_Attribute): Fix comment for attribute Image.
* tbuild.adb (Make_SC): Remove extra whitespace.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/sem_attr.adb | 2 | ||||
-rw-r--r-- | gcc/ada/tbuild.adb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/sem_attr.adb b/gcc/ada/sem_attr.adb index 6cee808..6eb04b2 100644 --- a/gcc/ada/sem_attr.adb +++ b/gcc/ada/sem_attr.adb @@ -9448,7 +9448,7 @@ package body Sem_Attr is ----------- -- Image is a scalar attribute, but is never static, because it is - -- not a static function (having a non-scalar argument (RM 4.9(22)) + -- not a static function (having a non-scalar argument (RM 4.9(22)). -- However, we can constant-fold the image of an enumeration literal -- if names are available and default Image implementation has not -- been overridden. diff --git a/gcc/ada/tbuild.adb b/gcc/ada/tbuild.adb index 3115426..598030b 100644 --- a/gcc/ada/tbuild.adb +++ b/gcc/ada/tbuild.adb @@ -492,7 +492,7 @@ package body Tbuild is -- Make_SC -- ------------- - function Make_SC (Pre, Sel : Node_Id) return Node_Id is + function Make_SC (Pre, Sel : Node_Id) return Node_Id is begin return Make_Selected_Component (System_Location, |