aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_util.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/sem_util.ads')
-rw-r--r--gcc/ada/sem_util.ads6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/sem_util.ads b/gcc/ada/sem_util.ads
index 54878f3..80eaf9c 100644
--- a/gcc/ada/sem_util.ads
+++ b/gcc/ada/sem_util.ads
@@ -279,6 +279,9 @@ package Sem_Util is
-- these names is supposed to be a selected component name, an expanded
-- name, a defining program unit name or an identifier.
+ function Enclosing_CPP_Parent (Typ : Entity_Id) return Entity_Id;
+ -- Returns the closest ancestor of Typ that is a CPP type.
+
function Enclosing_Generic_Body
(N : Node_Id) return Node_Id;
-- Returns the Node_Id associated with the innermost enclosing generic
@@ -578,6 +581,9 @@ package Sem_Util is
-- applied to the underlying type (or returns False if there is no
-- underlying type).
+ function Has_Suffix (E : Entity_Id; Suffix : Character) return Boolean;
+ -- Returns true if the last character of E is Suffix. Used in Assertions.
+
function Has_Tagged_Component (Typ : Entity_Id) return Boolean;
-- Returns True if Typ is a composite type (array or record) which is
-- either itself a tagged type, or has a component (recursively) which is