aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/atree.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2013-01-03 11:52:31 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2013-01-03 11:52:31 +0100
commit8ca1ee5da35c8d81f9ae5c0b2369e01d955bfed5 (patch)
treef3c3d8d086af3965e2a9c9812342b73df457703d /gcc/ada/atree.ads
parent0c6f926d31da7dfa75fb770646f91ac407478101 (diff)
downloadgcc-8ca1ee5da35c8d81f9ae5c0b2369e01d955bfed5.zip
gcc-8ca1ee5da35c8d81f9ae5c0b2369e01d955bfed5.tar.gz
gcc-8ca1ee5da35c8d81f9ae5c0b2369e01d955bfed5.tar.bz2
[multiple changes]
2013-01-03 Thomas Quinot <quinot@adacore.com> * sem_ch7.adb, sem_ch10.adb, einfo.adb, einfo.ads, sem_ch12.adb, rtsfind.adb, sem_elab.adb, sem_ch4.adb, sem_ch8.adb (Einfo.Is_Visible_Child_Unit, Einfo.Set_Is_Visible_Child_Unit): Rename to Is_Visible_Lib_Unit, Set_Is_Visible_Lib_Unit, and update spec accordingly (now also applies to root library units). (Sem_Ch10.Analyze_Subunit.Analyze_Subunit_Context): Toggle above flag on root library units, not only child units. (Sem_Ch10.Install[_Limited]_Withed_Unit): Same. (Sem_Ch10.Remove_Unit_From_Visibility): Reset Is_Visible_Lib_Unit even for root library units. (Sem_Ch8.Find_Expanded_Name): A selected component form whose prefix is Standard is an expanded name for a root library unit. 2013-01-03 Thomas Quinot <quinot@adacore.com> * exp_ch3.adb: Minor reformatting. 2013-01-03 Olivier Hainque <hainque@adacore.com> * tracebak.c: Reinstate changes to support ppc-lynx178. 2013-01-03 Ed Schonberg <schonberg@adacore.com> * atree.ads: Minor reformatting and documentation enhancement. From-SVN: r194845
Diffstat (limited to 'gcc/ada/atree.ads')
-rw-r--r--gcc/ada/atree.ads4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/atree.ads b/gcc/ada/atree.ads
index d503dc2..2b295ba 100644
--- a/gcc/ada/atree.ads
+++ b/gcc/ada/atree.ads
@@ -508,7 +508,9 @@ package Atree is
-- entities point correctly to their original parents. The effect is thus
-- to leave the tree completely unchanged in structure, except that the
-- entity ID values of the two entities are interchanged. Neither of the
- -- two entities may be list members.
+ -- two entities may be list members. Note that entities appear on two
+ -- semantic chains: Homonym and Next_Entity: the corresponding links must
+ -- be adjusted by the caller, according to context.
function Extend_Node (Node : Node_Id) return Entity_Id;
-- This function returns a copy of its input node with an extension added.