aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/sem_util.adb13
-rw-r--r--gcc/ada/sem_util.ads5
2 files changed, 0 insertions, 18 deletions
diff --git a/gcc/ada/sem_util.adb b/gcc/ada/sem_util.adb
index e3e42c8..ecfb49a 100644
--- a/gcc/ada/sem_util.adb
+++ b/gcc/ada/sem_util.adb
@@ -22167,19 +22167,6 @@ package body Sem_Util is
pragma Assert (No (Actual));
end Iterate_Call_Parameters;
- ---------------------------
- -- Itype_Has_Declaration --
- ---------------------------
-
- function Itype_Has_Declaration (Id : Entity_Id) return Boolean is
- begin
- pragma Assert (Is_Itype (Id));
- return Present (Parent (Id))
- and then Nkind (Parent (Id)) in
- N_Full_Type_Declaration | N_Subtype_Declaration
- and then Defining_Entity (Parent (Id)) = Id;
- end Itype_Has_Declaration;
-
-------------------------
-- Kill_Current_Values --
-------------------------
diff --git a/gcc/ada/sem_util.ads b/gcc/ada/sem_util.ads
index dde5b27..9f909e0 100644
--- a/gcc/ada/sem_util.ads
+++ b/gcc/ada/sem_util.ads
@@ -2561,11 +2561,6 @@ package Sem_Util is
-- Calls Handle_Parameter for each pair of formal and actual parameters of
-- a function, procedure, or entry call.
- function Itype_Has_Declaration (Id : Entity_Id) return Boolean;
- -- Applies to Itypes. True if the Itype is attached to a declaration for
- -- the type through its Parent field, which may or not be present in the
- -- tree.
-
procedure Kill_Current_Values (Last_Assignment_Only : Boolean := False);
-- This procedure is called to clear all constant indications from all
-- entities in the current scope and in any parent scopes if the current