https://gcc.gnu.org/g:35d8062ebd171d4b2628dac24c2cc68d88c4f8b3

commit r16-1363-g35d8062ebd171d4b2628dac24c2cc68d88c4f8b3
Author: Ronan Desplanques <desplanq...@adacore.com>
Date:   Mon Mar 17 17:21:45 2025 +0100

    ada: Tweak formatting in Process_Subtype
    
    This patch removes parentheses and vertical alignment that misleadingly
    suggested the presence of function calls where there weren't any.
    
    gcc/ada/ChangeLog:
    
            * sem_ch3.adb (Process_Subtype): Tweak formatting.

Diff:
---
 gcc/ada/sem_ch3.adb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/ada/sem_ch3.adb b/gcc/ada/sem_ch3.adb
index ca500bc1e152..fcf2baa9d3e0 100644
--- a/gcc/ada/sem_ch3.adb
+++ b/gcc/ada/sem_ch3.adb
@@ -22855,8 +22855,8 @@ package body Sem_Ch3 is
          --  Size, Alignment, Representation aspects and Convention are always
          --  inherited from the base type.
 
-         Set_Size_Info  (Def_Id,            (Subtype_Mark_Id));
-         Set_Rep_Info   (Def_Id,            (Subtype_Mark_Id));
+         Set_Size_Info (Def_Id, Subtype_Mark_Id);
+         Set_Rep_Info (Def_Id, Subtype_Mark_Id);
          Set_Convention (Def_Id, Convention (Subtype_Mark_Id));
 
          --  The anonymous subtype created for the subtype indication

Reply via email to