diff options
Diffstat (limited to 'src/vhdl/vhdl-utils.ads')
-rw-r--r-- | src/vhdl/vhdl-utils.ads | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-utils.ads b/src/vhdl/vhdl-utils.ads index 5cdef0daa..8dba4e221 100644 --- a/src/vhdl/vhdl-utils.ads +++ b/src/vhdl/vhdl-utils.ads @@ -258,9 +258,13 @@ package Vhdl.Utils is -- skip over denoting names. function Get_Type_Of_Subtype_Indication (Ind : Iir) return Iir; + -- Return True iff DEF defines a new subtype indication, not just an + -- existing name (like a name). + function Is_Proper_Subtype_Indication (Def : Iir) return Boolean; + -- Return True iff the subtype indication of DECL is defined/owned by -- DECL. - function Is_Owned_Subtype_Indication (Decl : Iir) return Boolean; + function Has_Owned_Subtype_Indication (Decl : Iir) return Boolean; -- Get the type of an index_subtype_definition or of a discrete_range from -- an index_constraint. |