[COMMITTED] ada: Fix comment related to inlining
Checks
Commit Message
From: Bob Duff <duff@adacore.com>
Correction to previous check-in: Remove comment about
Proc_Next_... procedures, which were deleted.
gcc/ada/
* einfo-utils.ads: Remove comment.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/einfo-utils.ads | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
@@ -368,9 +368,7 @@ package Einfo.Utils is
-- Iterators --
---------------
- -- The call to Next_xxx (obj) is equivalent to obj := Next_xxx (obj)
- -- We define the set of Proc_Next_xxx routines simply for the purposes
- -- of inlining them without necessarily inlining the function.
+ -- Next_xxx (obj) is equivalent to obj := Next_xxx (obj)
procedure Next_Component (N : in out Node_Id) with Inline;
procedure Next_Component_Or_Discriminant (N : in out Node_Id) with Inline;