* c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
[official-gcc.git] / gcc / ada / exp_aggr.ads
blob2e435defa32e8efd58f4ba908d0785ccf5564019
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- E X P _ A G G R --
6 -- --
7 -- S p e c --
8 -- --
9 -- $Revision: 1.6 $
10 -- --
11 -- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
12 -- --
13 -- GNAT is free software; you can redistribute it and/or modify it under --
14 -- terms of the GNU General Public License as published by the Free Soft- --
15 -- ware Foundation; either version 2, or (at your option) any later ver- --
16 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
17 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
18 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
19 -- for more details. You should have received a copy of the GNU General --
20 -- Public License distributed with GNAT; see file COPYING. If not, write --
21 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
22 -- MA 02111-1307, USA. --
23 -- --
24 -- GNAT was originally developed by the GNAT team at New York University. --
25 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
26 -- --
27 ------------------------------------------------------------------------------
29 with Types; use Types;
31 package Exp_Aggr is
33 procedure Expand_N_Aggregate (N : Node_Id);
34 procedure Expand_N_Extension_Aggregate (N : Node_Id);
36 function Is_Delayed_Aggregate (N : Node_Id) return Boolean;
37 -- returns True if N is a delayed aggregate of some kind
39 procedure Convert_Aggr_In_Object_Decl (N : Node_Id);
40 -- N is a N_Object_Declaration with an expression which must be
41 -- an N_Aggregate or N_Extension_Aggregate with Expansion_Delayed
42 -- This procedure performs in-place aggregate assignment.
44 procedure Convert_Aggr_In_Allocator (Decl, Aggr : Node_Id);
45 -- Decl is an access N_Object_Declaration (produced during
46 -- allocator expansion), Aggr is the initial expression aggregate
47 -- of an allocator. This procedure perform in-place aggregate
48 -- assignent in the newly allocated object.
50 procedure Convert_Aggr_In_Assignment (N : Node_Id);
51 -- Decl is an access N_Object_Declaration (produced during
52 -- allocator expansion), Aggr is the initial expression aggregate
53 -- of an allocator. This procedure perform in-place aggregate
54 -- assignent in the newly allocated object.
57 end Exp_Aggr;