diff options
author | Ed Schonberg <schonber@gnat.com> | 2004-10-04 16:57:11 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2004-10-04 16:57:11 +0200 |
commit | 0b525beee7461b1713595233bc68edc4ef8ad6a7 (patch) | |
tree | 5fca5058bdc74419e06e6b1898e0b4753f29b513 /gcc/hooks.h | |
parent | 27ad9660a8011119222121eb67aabb099cc43e1a (diff) | |
download | gcc-0b525beee7461b1713595233bc68edc4ef8ad6a7.zip gcc-0b525beee7461b1713595233bc68edc4ef8ad6a7.tar.gz gcc-0b525beee7461b1713595233bc68edc4ef8ad6a7.tar.bz2 |
sem_ch12.adb (Check_Generic_Actuals): New predicate Denotes_Previous_Actual...
2004-10-04 Ed Schonberg <schonberg@gnat.com>
* sem_ch12.adb (Check_Generic_Actuals): New predicate
Denotes_Previous_Actual, to handle properly the case of a private
actual that is also the component type of a subsequent array actual.
The visibility status of the first actual is not affected when the
second is installed.
(Process_Nested_Formal): Subsidiary of Instantiate_Formal_Package, to
make fully recursive the treatment of formals of packages declared
with a box.
(Restore_Nested_Formal): Subsidiary of Restore_Private_Views, to undo
the above on exit from an instantiation.
(Denotes_Formal_Package): When called from Restore_Private_Views, ignore
current instantiation which is now complete.
(Analyze_Package_Instantiation): No instantiated body is needed if the
main unit is generic. Efficient, and avoid anomalies when a instance
appears in a package accessed through rtsfind.
From-SVN: r88496
Diffstat (limited to 'gcc/hooks.h')
0 files changed, 0 insertions, 0 deletions