summaryrefslogtreecommitdiff
path: root/gcc/ada/a-cohase.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-09 08:25:13 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-09 08:25:13 +0000
commitc640b24abc9155e9528cbc942f51c0adaeb2afef (patch)
tree0184736850e3694ca19a6ab3d02c504f5596cdca /gcc/ada/a-cohase.ads
parenta50e85e584d41a4211b5a718c6ade97fc2c876f6 (diff)
downloadgcc-c640b24abc9155e9528cbc942f51c0adaeb2afef.tar.gz
2009-04-09 Pascal Obry <obry@adacore.com>
* a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coorma.ads, a-cihase.adb, a-cihase.ads, a-cohama.adb, a-cohama.ads, a-coorse.adb, a-coorse.ads, a-coormu.adb, a-coormu.ads, a-cohase.adb, a-cohase.ads: Minor reformatting. 2009-04-09 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Check_Overriding_Indicator): Do not generate warning on missing overriding indicator if the new declaration is not seen as primitive. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145804 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-cohase.ads')
-rw-r--r--gcc/ada/a-cohase.ads27
1 files changed, 12 insertions, 15 deletions
diff --git a/gcc/ada/a-cohase.ads b/gcc/ada/a-cohase.ads
index 4ed3734d28a..72406c8c5ea 100644
--- a/gcc/ada/a-cohase.ads
+++ b/gcc/ada/a-cohase.ads
@@ -42,8 +42,8 @@ generic
with function Hash (Element : Element_Type) return Hash_Type;
- with function Equivalent_Elements (Left, Right : Element_Type)
- return Boolean;
+ with function Equivalent_Elements
+ (Left, Right : Element_Type) return Boolean;
with function "=" (Left, Right : Element_Type) return Boolean is <>;
@@ -402,15 +402,13 @@ private
type Node_Type;
type Node_Access is access Node_Type;
- type Node_Type is
- limited record
- Element : Element_Type;
- Next : Node_Access;
- end record;
+ type Node_Type is limited record
+ Element : Element_Type;
+ Next : Node_Access;
+ end record;
- package HT_Types is new Hash_Tables.Generic_Hash_Table_Types
- (Node_Type,
- Node_Access);
+ package HT_Types is
+ new Hash_Tables.Generic_Hash_Table_Types (Node_Type, Node_Access);
type Set is new Ada.Finalization.Controlled with record
HT : HT_Types.Hash_Table_Type;
@@ -429,11 +427,10 @@ private
type Set_Access is access all Set;
for Set_Access'Storage_Size use 0;
- type Cursor is
- record
- Container : Set_Access;
- Node : Node_Access;
- end record;
+ type Cursor is record
+ Container : Set_Access;
+ Node : Node_Access;
+ end record;
procedure Write
(Stream : not null access Root_Stream_Type'Class;