summaryrefslogtreecommitdiff
path: root/gcc/ada/sinfo.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-30 15:06:40 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-30 15:06:40 +0000
commitb9cd63b6339e5fc5ba5b7d4732c3fe29ddbad878 (patch)
tree46db6c49f7ba8ac1fa6a4df8a2f682e1e8fccfed /gcc/ada/sinfo.ads
parenta95036b63d20fadb3eec448cce8aa21b2926983d (diff)
downloadgcc-b9cd63b6339e5fc5ba5b7d4732c3fe29ddbad878.tar.gz
2014-07-30 Thomas Quinot <quinot@adacore.com>
* lib-load.ads: Minor reformatting. * sinfo.ads (Library_Unit): Update comment. * lib.ads (Notes): Simplify. The Unit component in Notes_Entry is redundant. Instead used the pragma Node_Id directly as the element type. 2014-07-30 Thomas Quinot <quinot@adacore.com> * lib.adb (Store_Note): Store only notes that do not come from an instance, and that are in the extended main source unit. * lib-writ (Write_Unit_Information): Annotations from subunits must be emitted along with those for the main unit, and they must carry a specific file name. * ali.ads (Notes_Record): Use a File_Name_Type instead of a Unit_Id for the source file containing the pragma, as in the case of annotations from subunits we might not have a readily available unit id. * ali.adb (Scan_ALI): Account for above change in data structure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213295 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sinfo.ads')
-rw-r--r--gcc/ada/sinfo.ads2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/sinfo.ads b/gcc/ada/sinfo.ads
index f51f9c5bd76..211e0094c11 100644
--- a/gcc/ada/sinfo.ads
+++ b/gcc/ada/sinfo.ads
@@ -1685,6 +1685,8 @@ package Sinfo is
--
-- For a subunit, Library_Unit points to the compilation unit node of
-- the parent body.
+ -- ??? not (always) true, in (at least some, maybe all?) cases it points
+ -- to the corresponding spec for the parent body.
--
-- Note that this field is not used to hold the parent pointer for child
-- unit (which might in any case need to use it for some other purpose as