]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Update documentation of Sinfo.Package_Instantiation field
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 May 2018 08:59:03 +0000 (08:59 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 May 2018 08:59:03 +0000 (08:59 +0000)
This was forgotten when renaming Get_Package_Instantiation_Node to
Get_Unit_Instantiation_Node.

2018-05-30  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* einfo.ads (Package_Instantiation): Update comment after a routine
that uses this field has been renamed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260950 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/einfo.ads

index db17d684e767db1b74c45a61505540a16ce41b53..96c90c64711f18420eaac8deaa3d44e7e8019474 100644 (file)
@@ -1,3 +1,8 @@
+2018-05-30  Piotr Trojanek  <trojanek@adacore.com>
+
+       * einfo.ads (Package_Instantiation): Update comment after a routine
+       that uses this field has been renamed.
+
 2018-05-30  Ed Schonberg  <schonberg@adacore.com>
 
        * exp_ch11.adb (Replace_Raise_By_Goto): The transfomation is legal even
index 384de07134d941e441e40c76289d9d1f5c018b74..9a7206ffc15fcaa94a1e06c4cadb8cb89aa29641 100644 (file)
@@ -3838,7 +3838,7 @@ package Einfo is
 --       been rewritten to an N_Package_Specification, the instantiation
 --       node is available from the Original_Node field of the package spec
 --       node. This is currently not guaranteed to be set in all cases, but
---       when set, the field is used in Get_Package_Instantiation_Node as
+--       when set, the field is used in Get_Unit_Instantiation_Node as
 --       one of the means of obtaining the instantiation node. Eventually
 --       it should be set in all cases, including package entities associated
 --       with formal packages. ???