[COMMITTED] ada: Fix comment related to inlining

Message ID 20230515094422.1408878-1-poulhies@adacore.com
State Accepted
Headers
Series [COMMITTED] ada: Fix comment related to inlining |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Marc Poulhiès May 15, 2023, 9:44 a.m. UTC
  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(-)
  

Patch

diff --git a/gcc/ada/einfo-utils.ads b/gcc/ada/einfo-utils.ads
index 028665439bb..174994647bc 100644
--- a/gcc/ada/einfo-utils.ads
+++ b/gcc/ada/einfo-utils.ads
@@ -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;