atree.h, [...]: New subprograms to manipulate Elist5.
authorEd Schonberg <schonberg@adacore.com>
Tue, 2 Aug 2011 08:03:11 +0000 (08:03 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 2 Aug 2011 08:03:11 +0000 (10:03 +0200)
commit29efbb8cc60bc986c8a761e2a947b84d3e10a9fd
treecc6d04605b71c10f4bb506766ca63a1cd24b759c
parentb0186f718a778b98e1c77a8279a10d79e2d83b8d
atree.h, [...]: New subprograms to manipulate Elist5.

2011-08-02  Ed Schonberg  <schonberg@adacore.com>

* atree.h, atree.ads, atree.adb: New subprograms to manipulate Elist5.
* par_ch8.adb (P_Use_Type): initialize Used_Operations for node.
* sinfo.ads, sinfo.adb (Used_Operations): new attribute of
use_type_clauses, to handle more efficiently use_type and use_all_type
constructs.
* sem_ch8.adb: Rewrite Use_One_Type and End_Use_Type to handle the
Ada2012 Use_All_Type clause.
(Use_Class_Wide_Operations): new procedure.

From-SVN: r177090
gcc/ada/ChangeLog
gcc/ada/atree.adb
gcc/ada/atree.ads
gcc/ada/atree.h
gcc/ada/par-ch8.adb
gcc/ada/sem_ch8.adb
gcc/ada/sinfo.adb
gcc/ada/sinfo.ads