summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch10.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/sem_ch10.ads')
-rw-r--r--gcc/ada/sem_ch10.ads7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/sem_ch10.ads b/gcc/ada/sem_ch10.ads
index 066ceecb4bf..9bf19edbf59 100644
--- a/gcc/ada/sem_ch10.ads
+++ b/gcc/ada/sem_ch10.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2008, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -43,6 +43,11 @@ package Sem_Ch10 is
-- its private part, compiling a private child unit, or compiling the
-- private declarations of a public child unit.
+ function Is_Legal_Shadow_Entity_In_Body (T : Entity_Id) return Boolean;
+ -- Assuming that type T is an incomplete type coming from a limited with
+ -- view, determine whether the package where T resides is imported through
+ -- a regular with clause in the current package body.
+
procedure Remove_Context (N : Node_Id);
-- Removes the entities from the context clause of the given compilation
-- unit from the visibility chains. This is done on exit from a unit as