aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-utils.ads
diff options
context:
space:
mode:
authorAnselmo95 <anselmo.alberto95@gmail.com>2021-04-02 20:39:48 +0200
committertgingold <tgingold@users.noreply.github.com>2021-04-03 12:01:30 +0200
commit800656a30c2385b591766281cbc35de1582ce8f5 (patch)
treeeddc4f4ffbcf8cd0d79f2ec312566316bcb99e73 /src/vhdl/vhdl-utils.ads
parentc33f41e4612347d1fcbb9a37bc82249d7b8366eb (diff)
downloadghdl-800656a30c2385b591766281cbc35de1582ce8f5.tar.gz
ghdl-800656a30c2385b591766281cbc35de1582ce8f5.tar.bz2
ghdl-800656a30c2385b591766281cbc35de1582ce8f5.zip
Add base support for the attribue element in vhdl 08
Diffstat (limited to 'src/vhdl/vhdl-utils.ads')
-rw-r--r--src/vhdl/vhdl-utils.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-utils.ads b/src/vhdl/vhdl-utils.ads
index 3696405e0..4d78640eb 100644
--- a/src/vhdl/vhdl-utils.ads
+++ b/src/vhdl/vhdl-utils.ads
@@ -175,6 +175,9 @@ package Vhdl.Utils is
-- Return TRUE iff DEF is a fully constrained type (or subtype) definition.
function Is_Fully_Constrained_Type (Def : Iir) return Boolean;
+ -- Return TRUE iff DEF is an array type (or subtype) definition.
+ function Is_Array_Type (Def : Iir) return Boolean;
+
-- Return True iff OBJ can be the target of an aggregate with an others
-- choice (cf LRM08 9.3.3.3).
-- Return True iff object or member of it is declared to be a fully