summaryrefslogtreecommitdiff
path: root/gcc/ada/einfo.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2013-10-17 15:46:14 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2013-10-17 15:46:14 +0200
commit7b56a91b90d4fba29abe58603373a67cc8ad5358 (patch)
tree1b3e345826e9ac68cec23a5403d16d84add13cc8 /gcc/ada/einfo.ads
parent8a7c04004682aa23bf2dbcfaabac0de5b27c8a52 (diff)
downloadgcc-7b56a91b90d4fba29abe58603373a67cc8ad5358.tar.gz
[multiple changes]
2013-10-17 Thomas Quinot <quinot@adacore.com> * exp_ch7.adb: Minor reformatting. 2013-10-17 Ed Schonberg <schonberg@adacore.com> * sem_dim.adb (Process_Minus, Process_Divide): Label dimension expression with standard operator and type, for pretty-printing use. 2013-10-17 Bob Duff <duff@adacore.com> * gnat_ugn.texi: Document --pp-new and --pp-old switches. 2013-10-17 Hristian Kirtchev <kirtchev@adacore.com> * einfo.adb: Flag 159 is now known as From_Limited_With. Replace all references to attribute From_With_Type with From_Limited_With. (From_With_Type): Renamed to From_Limited_With. (Set_From_With_Type): Renamd to Set_From_Limited_With. * einfo.ads: Remove attribute From_With_Type and occurrences in nodes. Add attribute From_Limited_With along with occurrences in nodes. (From_With_Type): Renamed to From_Limited_With along with pragma Inline. (Set_From_With_Type): Renamed to Set_From_Limited_With along with pragma Inline. * sem_ch7.adb, sem_ch8.adb, sem_ch12.adb, sem_ch13.adb, sem_disp.adb, sem_res.adb, sem_type.adb, sem_util.adb, sem_warn.adb, exp_attr.adb, exp_disp.adb, freeze.adb, itypes.adb, layout.adb, lib-writ.adb, rtsfind.adb, sem_attr.adb, sem_aux.adb, sem_ch3.adb, sem_ch4.adb: Replace all references to attribute From_With_Type with From_Limited_With. * sem_ch6.adb: Replace all references to attribute From_With_Type with From_Limited_With. (Designates_From_With_Type): Renamed to Designates_From_Limited_With. (Process_Formals): Update the call to Designates_From_With_Type. * sem_ch10.adb: Replace all references to attribute From_With_Type with From_Limited_With. (Build_Limited_Views): Reimplemented. * gcc-interface/decl.c Replace all references to attribute From_With_Type with From_Limited_With. (finalize_from_with_types): Renamed to finalize_from_limited_with. * gcc-interface/gigi.h (finalize_from_with_types): Renamed to finalize_from_limited_with. * gcc-interface/trans.c: Replace all references to attribute From_With_Type with From_Limited_With. (Compilation_Unit_to_gnu): Update the call to finalize_from_with_types. 2013-10-17 Pascal Obry <obry@adacore.com> * projects.texi: Update VCS_Kind documentation. 2013-10-17 Matthew Heaney <heaney@adacore.com> * a-convec.adb, a-coinve.adb, a-cobove.adb (Insert, Insert_Space): Inspect value range before converting type. 2013-10-17 Hristian Kirtchev <kirtchev@adacore.com> * sem_prag.adb (Analyze_Pragma): Flag the use of pragma Refined_Pre as illegal. From-SVN: r203755
Diffstat (limited to 'gcc/ada/einfo.ads')
-rw-r--r--gcc/ada/einfo.ads30
1 files changed, 11 insertions, 19 deletions
diff --git a/gcc/ada/einfo.ads b/gcc/ada/einfo.ads
index 6520fe6bdad..0eaf13b43f1 100644
--- a/gcc/ada/einfo.ads
+++ b/gcc/ada/einfo.ads
@@ -1315,19 +1315,11 @@ package Einfo is
-- associated with the entity, then this field is Empty. See package
-- Freeze for further details.
--- From_With_Type (Flag159)
--- Defined in package and type entities. Indicates that the entity
--- appears in a With_Type clause in the context of some other unit,
--- either as the prefix (which must be a package), or as a type name.
--- The package can only be used to retrieve such a type, and the type
--- can be used only in component declarations and access definitions.
--- The With_Type clause is used to construct mutually recursive
--- types, i.e. record types (Java classes) that hold pointers to each
--- other. If such a type is an access type, it has no explicit freeze
--- node, so that the back-end does not attempt to elaborate it.
--- Currently this flag is also used to implement Ada 2005 (AI-50217).
--- It will be renamed to From_Limited_With after removal of the current
--- GNAT with_type clause???
+-- From_Limited_With (Flag159)
+-- Defined in package and type entities. Set to True when the related
+-- entity is generated by the expansion of a limited with clause. Such
+-- an entity is said to be a "shadow" - it acts as the incomplete view
+-- of a type by inheriting relevant attributes from the said type.
-- Full_View (Node11)
-- Defined in all type and subtype entities and in deferred constants.
@@ -5049,7 +5041,7 @@ package Einfo is
-- Depends_On_Private (Flag14)
-- Discard_Names (Flag88)
-- Finalize_Storage_Only (Flag158) (base type only)
- -- From_With_Type (Flag159)
+ -- From_Limited_With (Flag159)
-- Has_Aliased_Components (Flag135) (base type only)
-- Has_Alignment_Clause (Flag46)
-- Has_Atomic_Components (Flag86) (base type only)
@@ -5662,7 +5654,7 @@ package Einfo is
-- Discard_Names (Flag88)
-- Elaboration_Entity_Required (Flag174)
-- Elaborate_Body_Desirable (Flag210) (non-generic case only)
- -- From_With_Type (Flag159)
+ -- From_Limited_With (Flag159)
-- Has_All_Calls_Remote (Flag79)
-- Has_Anonymous_Master (Flag253)
-- Has_Completion (Flag26)
@@ -6327,7 +6319,7 @@ package Einfo is
function First_Rep_Item (Id : E) return N;
function Float_Rep (Id : E) return F;
function Freeze_Node (Id : E) return N;
- function From_With_Type (Id : E) return B;
+ function From_Limited_With (Id : E) return B;
function Full_View (Id : E) return E;
function Generic_Homonym (Id : E) return E;
function Generic_Renamings (Id : E) return L;
@@ -6946,7 +6938,7 @@ package Einfo is
procedure Set_First_Rep_Item (Id : E; V : N);
procedure Set_Float_Rep (Id : E; V : F);
procedure Set_Freeze_Node (Id : E; V : N);
- procedure Set_From_With_Type (Id : E; V : B := True);
+ procedure Set_From_Limited_With (Id : E; V : B := True);
procedure Set_Full_View (Id : E; V : E);
procedure Set_Generic_Homonym (Id : E; V : E);
procedure Set_Generic_Renamings (Id : E; V : L);
@@ -7666,7 +7658,7 @@ package Einfo is
pragma Inline (First_Private_Entity);
pragma Inline (First_Rep_Item);
pragma Inline (Freeze_Node);
- pragma Inline (From_With_Type);
+ pragma Inline (From_Limited_With);
pragma Inline (Full_View);
pragma Inline (Generic_Homonym);
pragma Inline (Generic_Renamings);
@@ -8129,7 +8121,7 @@ package Einfo is
pragma Inline (Set_First_Private_Entity);
pragma Inline (Set_First_Rep_Item);
pragma Inline (Set_Freeze_Node);
- pragma Inline (Set_From_With_Type);
+ pragma Inline (Set_From_Limited_With);
pragma Inline (Set_Full_View);
pragma Inline (Set_Generic_Homonym);
pragma Inline (Set_Generic_Renamings);