From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1914) id 97C90385843F; Wed, 1 Dec 2021 10:25:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97C90385843F MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Pierre-Marie de Rodat To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-5663] [Ada] Sync whitespace between variants of Indefinite_Holders unit X-Act-Checkin: gcc X-Git-Author: Piotr Trojanek X-Git-Refname: refs/heads/master X-Git-Oldrev: ef520c0baf7d234db02d7d67b2b5e8eaec0e3986 X-Git-Newrev: a41a9107459625a800cb424805a22991b3e038a4 Message-Id: <20211201102554.97C90385843F@sourceware.org> Date: Wed, 1 Dec 2021 10:25:54 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2021 10:25:54 -0000 https://gcc.gnu.org/g:a41a9107459625a800cb424805a22991b3e038a4 commit r12-5663-ga41a9107459625a800cb424805a22991b3e038a4 Author: Piotr Trojanek Date: Mon Nov 8 14:19:39 2021 +0100 [Ada] Sync whitespace between variants of Indefinite_Holders unit gcc/ada/ * libgnat/a-coinho.ads: Sync whitespace with a-coinho__shared.ads. * libgnat/a-coinho__shared.ads: Sync whitespace with a-coinho.ads. Diff: --- gcc/ada/libgnat/a-coinho.ads | 3 +-- gcc/ada/libgnat/a-coinho__shared.ads | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/ada/libgnat/a-coinho.ads b/gcc/ada/libgnat/a-coinho.ads index b6488368148..d09f7cf7d6e 100644 --- a/gcc/ada/libgnat/a-coinho.ads +++ b/gcc/ada/libgnat/a-coinho.ads @@ -127,8 +127,7 @@ private overriding procedure Adjust (Container : in out Holder); overriding procedure Finalize (Container : in out Holder); - type Reference_Control_Type is new Controlled with - record + type Reference_Control_Type is new Controlled with record Container : Holder_Access; end record; diff --git a/gcc/ada/libgnat/a-coinho__shared.ads b/gcc/ada/libgnat/a-coinho__shared.ads index 97f796dcfd5..27a0ca8fd1e 100644 --- a/gcc/ada/libgnat/a-coinho__shared.ads +++ b/gcc/ada/libgnat/a-coinho__shared.ads @@ -69,6 +69,7 @@ package Ada.Containers.Indefinite_Holders is procedure Query_Element (Container : Holder; Process : not null access procedure (Element : Element_Type)); + procedure Update_Element (Container : in out Holder; Process : not null access procedure (Element : in out Element_Type)); @@ -105,6 +106,7 @@ private use Ada.Streams; type Element_Access is access all Element_Type; + type Holder_Access is access all Holder; type Shared_Holder is record