summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_aux.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-10 10:01:57 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-10 10:01:57 +0000
commit90a07d4c781688cf52abd70c1097b11b651a6702 (patch)
tree6719a6bc87fb9426192a2ee4239fcbe3d1a71fde /gcc/ada/sem_aux.ads
parentae35d473dcba37da6805652727c83a7f7699eae6 (diff)
downloadgcc-90a07d4c781688cf52abd70c1097b11b651a6702.tar.gz
2010-09-10 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb (Derive_Subprograms): An interface primitive operation that is a renaming must be derived like any other primitive operation, the renamed operation is not relevant to the derivation. 2010-09-10 Robert Dewar <dewar@adacore.com> * sem_aux.ads: Add comment for Is_Inherently_Limited_Type. * checks.adb: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164155 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_aux.ads')
-rwxr-xr-xgcc/ada/sem_aux.ads3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/sem_aux.ads b/gcc/ada/sem_aux.ads
index 8b763e05240..490f8e3d5d4 100755
--- a/gcc/ada/sem_aux.ads
+++ b/gcc/ada/sem_aux.ads
@@ -172,7 +172,8 @@ package Sem_Aux is
-- These are the types that are defined as return-by-reference types in Ada
-- 95 (see RM95-6.5(11-16)). In Ada 2005, these are the types that require
-- build-in-place for function calls. Note that build-in-place is allowed
- -- for other types, too.
+ -- for other types, too. This is also used for idenfitying pure procedures
+ -- whose calls should not be eliminated (RM 10.2.1(18/2)).
function Is_Limited_Type (Ent : Entity_Id) return Boolean;
-- Ent is any entity. Returns true if Ent is a limited type (limited