summaryrefslogtreecommitdiff
path: root/src/vhdl/iirs_utils.ads
diff options
context:
space:
mode:
authorTristan Gingold2014-12-15 06:42:10 +0100
committerTristan Gingold2014-12-15 06:42:10 +0100
commit6d2b8c7bfcbd534406243093d1ec5e77ac4c8484 (patch)
tree082afe2c691eae5108d9781035bad22804b42585 /src/vhdl/iirs_utils.ads
parentcce31df3a7327c5e35fbfa818d87580219e73128 (diff)
downloadghdl-6d2b8c7bfcbd534406243093d1ec5e77ac4c8484.tar.gz
ghdl-6d2b8c7bfcbd534406243093d1ec5e77ac4c8484.tar.bz2
ghdl-6d2b8c7bfcbd534406243093d1ec5e77ac4c8484.zip
Use same node for implicit and explicit subprogram declarations.
Diffstat (limited to 'src/vhdl/iirs_utils.ads')
-rw-r--r--src/vhdl/iirs_utils.ads5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vhdl/iirs_utils.ads b/src/vhdl/iirs_utils.ads
index a588ab8..da3e72b 100644
--- a/src/vhdl/iirs_utils.ads
+++ b/src/vhdl/iirs_utils.ads
@@ -117,6 +117,11 @@ package Iirs_Utils is
-- is to match the body with its declaration.
function Is_Second_Subprogram_Specification (Spec : Iir) return Boolean;
+ -- Return True iif SPEC is the specification of an implicit subprogram.
+ -- False for explicit subprograms.
+ function Is_Implicit_Subprogram (Spec : Iir) return Boolean;
+ pragma Inline (Is_Implicit_Subprogram);
+
-- If NAME is a simple or an expanded name, return the denoted declaration.
-- Otherwise, return NAME.
function Strip_Denoting_Name (Name : Iir) return Iir;