public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5663] [Ada] Sync whitespace between variants of Indefinite_Holders unit
@ 2021-12-01 10:25 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-12-01 10:25 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a41a9107459625a800cb424805a22991b3e038a4
commit r12-5663-ga41a9107459625a800cb424805a22991b3e038a4
Author: Piotr Trojanek <trojanek@adacore.com>
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-01 10:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 10:25 [gcc r12-5663] [Ada] Sync whitespace between variants of Indefinite_Holders unit Pierre-Marie de Rodat
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).