diff options
author | Robert Dewar <dewar@adacore.com> | 2008-04-14 15:01:42 +0000 |
---|---|---|
committer | Samuel Tardieu <sam@gcc.gnu.org> | 2008-04-14 15:01:42 +0000 |
commit | 8f3723e0ae9d77ba02984c0dec5eaf03cd034437 (patch) | |
tree | a26f7a75cc77544bd925c95757227fa017e98c90 /gcc/ada/sem_util.adb | |
parent | 32f7efe1a5140f2b95f62009c2a0315a1ada2c5f (diff) | |
download | gcc-8f3723e0ae9d77ba02984c0dec5eaf03cd034437.zip gcc-8f3723e0ae9d77ba02984c0dec5eaf03cd034437.tar.gz gcc-8f3723e0ae9d77ba02984c0dec5eaf03cd034437.tar.bz2 |
sem_util.ads, [...] (In_Subprogram): Remove.
2008-04-14 Robert Dewar <dewar@adacore.com>
gcc/ada/
* sem_util.ads, sem_util.adb (In_Subprogram): Remove.
* sem_attr.adb (Anayze_Attribute): Check for Current_Subprogram
directly.
From-SVN: r134273
Diffstat (limited to 'gcc/ada/sem_util.adb')
-rw-r--r-- | gcc/ada/sem_util.adb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/ada/sem_util.adb b/gcc/ada/sem_util.adb index e7a6658..fd797ca 100644 --- a/gcc/ada/sem_util.adb +++ b/gcc/ada/sem_util.adb @@ -5374,15 +5374,6 @@ package body Sem_Util is return False; end In_Package_Body; - ------------------- - -- In_Subprogram -- - ------------------- - - function In_Subprogram return Boolean is - begin - return Current_Subprogram /= Empty; - end In_Subprogram; - -------------------------------------- -- In_Subprogram_Or_Concurrent_Unit -- -------------------------------------- |