]> git.ipfire.org Git - thirdparty/gcc.git/commit
sem_util.ads: Update comment describing function Deepest_Access_Level.
authorSteve Baird <baird@adacore.com>
Mon, 21 Nov 2011 12:02:41 +0000 (12:02 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 21 Nov 2011 12:02:41 +0000 (13:02 +0100)
commitf460d8f397bed972a6f93a912a5e2ad06addf54a
tree3b367f66016a36d268daa922f9355a344b3c86b4
parentd673c5c5bd1a95f3e145624149f4ffca3472a583
sem_util.ads: Update comment describing function Deepest_Access_Level.

2011-11-21  Steve Baird  <baird@adacore.com>

* sem_util.ads: Update comment describing function
Deepest_Access_Level.
* sem_util.adb (Deepest_Type_Access_Level): Return Int'Last for a
generic formal type.
(Type_Access_Level): Return library level
for a generic formal type.
* sem_attr.adb (Resolve_Attribute): Replace two Type_Access_Level
calls with calls to Deepest_Type_Access_Level.
* sem_ch3.adb (Analyze_Component_Declaration): replace a
Type_Access_Level call with a call to Deepest_Type_Access_Level.
* sem_res.adb (Resolve_Allocator.Check_Allocator_Discrim_Accessibility):
Replace three Type_Access_Level calls with calls to
Deepest_Type_Access_Level.
(Resolve_Allocator): Replace a Type_Access_Level call with a call to
Deepest_Type_Access_Level.
(Valid_Conversion.Valid_Array_Conversion): Replace a
Type_Access_Level call with a call to Deepest_Type_Access_Level.

From-SVN: r181570
gcc/ada/ChangeLog
gcc/ada/sem_attr.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_res.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads