summaryrefslogtreecommitdiff
path: root/src/vhdl/sem_names.ads
diff options
context:
space:
mode:
authorTristan Gingold2016-01-16 09:36:39 +0100
committerTristan Gingold2016-01-16 09:36:39 +0100
commit929fc2f9cfd2df23876ee289fe2faba20489d715 (patch)
tree1b07b94f5cb3b207f4866dbff1a064a7d154e2de /src/vhdl/sem_names.ads
parentf7824d45cfd650f67496fab24bd6df7ef67b6184 (diff)
downloadghdl-929fc2f9cfd2df23876ee289fe2faba20489d715.tar.gz
ghdl-929fc2f9cfd2df23876ee289fe2faba20489d715.tar.bz2
ghdl-929fc2f9cfd2df23876ee289fe2faba20489d715.zip
Add support for conditional assignments.
Diffstat (limited to 'src/vhdl/sem_names.ads')
-rw-r--r--src/vhdl/sem_names.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/sem_names.ads b/src/vhdl/sem_names.ads
index d20c4cf..afd2b97 100644
--- a/src/vhdl/sem_names.ads
+++ b/src/vhdl/sem_names.ads
@@ -118,6 +118,10 @@ package Sem_Names is
-- Before the first call, RES should be set to NULL_IIR.
procedure Add_Result (Res : in out Iir; Decl : Iir);
+ -- Return TRUE if ATYPE is defined: not Null_Iir, not an overload list and
+ -- not a wildcard.
+ function Is_Defined_Type (Atype : Iir) return Boolean;
+
-- Free a Parenthesis_Name. This is a special case as in general the
-- Association_Chain field must be freed too.
procedure Free_Parenthesis_Name (Name : Iir; Res : Iir);