public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/autopar_devel] [Ada] Remove unreferenced GNATprove utility routine Get_Low_Bound
@ 2020-08-22 22:19 Giuliano Belinassi
0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-22 22:19 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:e595810f045857e3949a1a69c9ad3505303219aa
commit e595810f045857e3949a1a69c9ad3505303219aa
Author: Piotr Trojanek <trojanek@adacore.com>
Date: Thu Feb 27 17:48:42 2020 +0100
[Ada] Remove unreferenced GNATprove utility routine Get_Low_Bound
2020-06-10 Piotr Trojanek <trojanek@adacore.com>
gcc/ada/
* sem_aux.ads, sem_aux.adb (Get_Low_Bound): Remove.
Diff:
---
gcc/ada/sem_aux.adb | 13 -------------
gcc/ada/sem_aux.ads | 3 ---
2 files changed, 16 deletions(-)
diff --git a/gcc/ada/sem_aux.adb b/gcc/ada/sem_aux.adb
index 63e94b4cbb1..0cd538ae9d5 100644
--- a/gcc/ada/sem_aux.adb
+++ b/gcc/ada/sem_aux.adb
@@ -485,19 +485,6 @@ package body Sem_Aux is
return Id;
end Get_Called_Entity;
- -------------------
- -- Get_Low_Bound --
- -------------------
-
- function Get_Low_Bound (E : Entity_Id) return Node_Id is
- begin
- if Ekind (E) = E_String_Literal_Subtype then
- return String_Literal_Low_Bound (E);
- else
- return Type_Low_Bound (E);
- end if;
- end Get_Low_Bound;
-
------------------
-- Get_Rep_Item --
------------------
diff --git a/gcc/ada/sem_aux.ads b/gcc/ada/sem_aux.ads
index 6f0d75e6d58..41ce3f0aad4 100644
--- a/gcc/ada/sem_aux.ads
+++ b/gcc/ada/sem_aux.ads
@@ -165,9 +165,6 @@ package Sem_Aux is
-- Obtain the entity of the entry, operator, or subprogram being invoked
-- by call Call.
- function Get_Low_Bound (E : Entity_Id) return Node_Id;
- -- For an index subtype or string literal subtype, returns its low bound
-
function Get_Unary_Nkind (Op : Entity_Id) return Node_Kind;
-- Op must be an entity with an Ekind of E_Operator. This function returns
-- the Nkind value that would be used to construct a unary operator node
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-22 22:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 22:19 [gcc/devel/autopar_devel] [Ada] Remove unreferenced GNATprove utility routine Get_Low_Bound Giuliano Belinassi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).