From: Bob Duff Date: Fri, 13 Jan 2023 21:10:44 +0000 (-0500) Subject: ada: Fix comment related to inlining X-Git-Tag: basepoints/gcc-15~9293 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b38d009954b8e46adcb4b02a29ee631efd300ae;p=thirdparty%2Fgcc.git ada: Fix comment related to inlining Correction to previous check-in: Remove comment about Proc_Next_... procedures, which were deleted. gcc/ada/ * einfo-utils.ads: Remove comment. --- diff --git a/gcc/ada/einfo-utils.ads b/gcc/ada/einfo-utils.ads index 028665439bb2..174994647bc9 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;