public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-6240] [Ada] Fix layout of parameters in calls to Predef_Spec_Or_Body Date: Wed, 5 Jan 2022 11:34:43 +0000 (GMT) [thread overview] Message-ID: <20220105113443.A6ACF385843F@sourceware.org> (raw) https://gcc.gnu.org/g:82faa04d974fe8691b5d5b4384c466eb5c5593db commit r12-6240-g82faa04d974fe8691b5d5b4384c466eb5c5593db Author: Piotr Trojanek <trojanek@adacore.com> Date: Mon Nov 29 13:14:44 2021 +0100 [Ada] Fix layout of parameters in calls to Predef_Spec_Or_Body gcc/ada/ * exp_ch3.adb (Make_Eq_Body, Make_Neq_Body, Make_Predefined_Primitive_Eq_Spec, Make_Predefined_Primitive_Specs): Fix whitespace. Diff: --- gcc/ada/exp_ch3.adb | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/gcc/ada/exp_ch3.adb b/gcc/ada/exp_ch3.adb index e1e323227c1..5fe0fc76992 100644 --- a/gcc/ada/exp_ch3.adb +++ b/gcc/ada/exp_ch3.adb @@ -9800,9 +9800,9 @@ package body Exp_Ch3 is begin Decl := Predef_Spec_Or_Body (Loc, - Tag_Typ => Typ, - Name => Eq_Name, - Profile => New_List ( + Tag_Typ => Typ, + Name => Eq_Name, + Profile => New_List ( Make_Parameter_Specification (Loc, Defining_Identifier => Make_Defining_Identifier (Loc, Name_X), @@ -10193,9 +10193,9 @@ package body Exp_Ch3 is Decl := Predef_Spec_Or_Body (Loc, - Tag_Typ => Tag_Typ, - Name => Chars (Renaming_Prim), - Profile => New_List ( + Tag_Typ => Tag_Typ, + Name => Chars (Renaming_Prim), + Profile => New_List ( Make_Parameter_Specification (Loc, Defining_Identifier => Make_Defining_Identifier (Loc, Chars (Left_Op)), @@ -10450,9 +10450,9 @@ package body Exp_Ch3 is if Eq_Needed then Eq_Spec := Predef_Spec_Or_Body (Loc, - Tag_Typ => Tag_Typ, - Name => Eq_Name, - Profile => New_List ( + Tag_Typ => Tag_Typ, + Name => Eq_Name, + Profile => New_List ( Make_Parameter_Specification (Loc, Defining_Identifier => Make_Defining_Identifier (Loc, Name_X), @@ -10462,7 +10462,7 @@ package body Exp_Ch3 is Defining_Identifier => Make_Defining_Identifier (Loc, Name_Y), Parameter_Type => New_Occurrence_Of (Tag_Typ, Loc))), - Ret_Type => Standard_Boolean); + Ret_Type => Standard_Boolean); Append_To (Predef_List, Eq_Spec); if Has_Predef_Eq_Renaming then @@ -10514,9 +10514,9 @@ package body Exp_Ch3 is -- Spec of _Size Append_To (Res, Predef_Spec_Or_Body (Loc, - Tag_Typ => Tag_Typ, - Name => Name_uSize, - Profile => New_List ( + Tag_Typ => Tag_Typ, + Name => Name_uSize, + Profile => New_List ( Make_Parameter_Specification (Loc, Defining_Identifier => Make_Defining_Identifier (Loc, Name_X), Parameter_Type => New_Occurrence_Of (Tag_Typ, Loc))),
reply other threads:[~2022-01-05 11:34 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220105113443.A6ACF385843F@sourceware.org \ --to=pmderodat@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).