]> git.ipfire.org Git - thirdparty/gcc.git/commit
lib-load.ads: Minor reformatting.
authorThomas Quinot <quinot@adacore.com>
Wed, 30 Jul 2014 15:06:40 +0000 (15:06 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 30 Jul 2014 15:06:40 +0000 (17:06 +0200)
commit9e5a6ee7c81968a13169634a16aef746e540c679
tree46db6c49f7ba8ac1fa6a4df8a2f682e1e8fccfed
parent3ea8f61e9fcdc8e9b558d5c03cafdec439de0147
lib-load.ads: Minor reformatting.

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.

From-SVN: r213295
gcc/ada/ChangeLog
gcc/ada/ali.adb
gcc/ada/ali.ads
gcc/ada/lib-load.ads
gcc/ada/lib-writ.adb
gcc/ada/lib.adb
gcc/ada/lib.ads
gcc/ada/sinfo.ads