diff options
author | Hristian Kirtchev <kirtchev@adacore.com> | 2013-04-12 13:20:29 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2013-04-12 15:20:29 +0200 |
commit | d62520f3cf12ac65efcefaad12c63ba8e8348003 (patch) | |
tree | 39df61f81b5cc5107ebc2fce0fb5f0c3dcfeedd6 /gcc/ada/lib-xref.adb | |
parent | 489c6e198e9e78f635878bdec992ce4d9fa807a2 (diff) | |
download | gcc-d62520f3cf12ac65efcefaad12c63ba8e8348003.zip gcc-d62520f3cf12ac65efcefaad12c63ba8e8348003.tar.gz gcc-d62520f3cf12ac65efcefaad12c63ba8e8348003.tar.bz2 |
aspects.adb (Find_Aspect): New routine.
2013-04-12 Hristian Kirtchev <kirtchev@adacore.com>
* aspects.adb (Find_Aspect): New routine.
(Find_Value_Of_Aspect): New routine.
(Has_Aspect): Reimplemented.
* aspects.ads (Find_Aspect): New routine.
(Find_Value_Of_Aspect): New routine, previously known as Find_Aspect.
* exp_ch5.adb (Expand_Iterator_Loop): Update the call to Find_Aspect.
* exp_util.adb (Is_Iterated_Container): Update the call to Find_Aspect.
* sem_ch4.adb (Try_Container_Indexing): Update calls to Find_Aspect.
* sem_ch5.adb (Analyze_Iterator_Specification): Update
the call to Find_Aspect. Use function Has_Aspect for better
readability.
(Preanalyze_Range): Use function Has_Aspect for better readability.
* sem_ch13.adb (Check_One_Function): Update the call to Find_Aspect.
* sem_prag.adb (Analyze_Pragma): There is no longer need to
look at the parent to extract the corresponding pragma for
aspect Global.
From-SVN: r197911
Diffstat (limited to 'gcc/ada/lib-xref.adb')
0 files changed, 0 insertions, 0 deletions