]> gcc.gnu.org Git - gcc.git/commitdiff
ada: Fix comment related to inlining
authorBob Duff <duff@adacore.com>
Fri, 13 Jan 2023 21:10:44 +0000 (16:10 -0500)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 15 May 2023 09:36:43 +0000 (11:36 +0200)
Correction to previous check-in: Remove comment about
Proc_Next_... procedures, which were deleted.

gcc/ada/

* einfo-utils.ads: Remove comment.

gcc/ada/einfo-utils.ads

index 028665439bb249c9e7fb04630301bd1c1f35f060..174994647bc9147a00c5b8bfa77b5b1682152ca6 100644 (file)
@@ -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;
This page took 0.064586 seconds and 5 git commands to generate.