aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_types.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/vhdl-sem_types.ads')
-rw-r--r--src/vhdl/vhdl-sem_types.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_types.ads b/src/vhdl/vhdl-sem_types.ads
index 996dae14f..406ec9bce 100644
--- a/src/vhdl/vhdl-sem_types.ads
+++ b/src/vhdl/vhdl-sem_types.ads
@@ -56,6 +56,10 @@ package Vhdl.Sem_Types is
-- none.
function Copy_Resolution_Indication (Subdef : Iir) return Iir;
+ -- If ATYPE is not fully constrained, build a fully constrained subtype.
+ -- This is for 'subtype attribute.
+ function Build_Constrained_Subtype (Atype : Iir; Loc : Iir) return Iir;
+
-- Adjust the constraint state CONSTRAINT given new element EL_TYPE.
-- Initially CONSTRAINT must be Fully_Constrained and COMPOSITE_FOUND
-- must be false.