aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_util.ads
diff options
context:
space:
mode:
authorbergner <bergner@138bc75d-0d04-0410-961f-82ee72b054a4>2019-10-16 17:04:12 +0000
committerbergner <bergner@138bc75d-0d04-0410-961f-82ee72b054a4>2019-10-16 17:04:12 +0000
commit07df75f896e98aeca99d22b475f4d31079075b15 (patch)
treea0ba1c0ebc44de3e8b4705ab148ad06541b016fe /gcc/ada/sem_util.ads
parentebac15937cc4436cbf7bb5fc96bad2ff52194c84 (diff)
parentf81582795d3b15e6671246315c8be8e6749da083 (diff)
Merge up to 277072.ibm/gcc-7-branch
* REVISION: Update subversion id. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ibm/gcc-7-branch@277075 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_util.ads')
-rw-r--r--gcc/ada/sem_util.ads17
1 files changed, 1 insertions, 16 deletions
diff --git a/gcc/ada/sem_util.ads b/gcc/ada/sem_util.ads
index cfec762dcb3..5a33d467083 100644
--- a/gcc/ada/sem_util.ads
+++ b/gcc/ada/sem_util.ads
@@ -474,9 +474,7 @@ package Sem_Util is
-- in the case of a descendant of a generic formal type (returns Int'Last
-- instead of 0).
- function Defining_Entity
- (N : Node_Id;
- Empty_On_Errors : Boolean := False) return Entity_Id;
+ function Defining_Entity (N : Node_Id) return Entity_Id;
-- Given a declaration N, returns the associated defining entity. If the
-- declaration has a specification, the entity is obtained from the
-- specification. If the declaration has a defining unit name, then the
@@ -487,19 +485,6 @@ package Sem_Util is
-- local entities declared during loop expansion. These entities need
-- debugging information, generated through Qualify_Entity_Names, and
-- the loop declaration must be placed in the table Name_Qualify_Units.
- --
- -- Set flag Empty_On_Error to change the behavior of this routine as
- -- follows:
- --
- -- * True - A declaration that lacks a defining entity returns Empty.
- -- A node that does not allow for a defining entity returns Empty.
- --
- -- * False - A declaration that lacks a defining entity is given a new
- -- internally generated entity which is subsequently returned. A node
- -- that does not allow for a defining entity raises Program_Error.
- --
- -- The former semantics is appropriate for the back end; the latter
- -- semantics is appropriate for the front end.
function Denotes_Discriminant
(N : Node_Id;