[COMMITTED] ada: Remove obsolete references for Build_Transient_Object_Statements

Message ID 20230615080353.938852-1-poulhies@adacore.com
State Committed
Commit 4b14ffb9a86b938f6bd3073cffb4c39a5223f9f6
Headers
Series [COMMITTED] ada: Remove obsolete references for Build_Transient_Object_Statements |

Commit Message

Marc Poulhiès June 15, 2023, 8:03 a.m. UTC
  From: Eric Botcazou <ebotcazou@adacore.com>

gcc/ada/

	* exp_util.ads (Build_Transient_Object_Statements): Remove obsolete
	references to array and record aggregates in documentation.

Tested on x86_64-pc-linux-gnu, committed on master.

---
 gcc/ada/exp_util.ads | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Patch

diff --git a/gcc/ada/exp_util.ads b/gcc/ada/exp_util.ads
index 06bd4141c27..66c4dc6be4c 100644
--- a/gcc/ada/exp_util.ads
+++ b/gcc/ada/exp_util.ads
@@ -372,9 +372,9 @@  package Exp_Util is
       Ptr_Decl     : out Node_Id;
       Finalize_Obj : Boolean := True);
    --  Subsidiary to the processing of transient objects in transient scopes,
-   --  if expressions, case expressions, expression_with_action nodes, array
-   --  aggregates, and record aggregates. Obj_Decl denotes the declaration of
-   --  the transient object. Generate the following nodes:
+   --  if expressions, case expressions, and expression_with_action nodes.
+   --  Obj_Decl denotes the declaration of the transient object. Generate the
+   --  following nodes:
    --
    --    * Fin_Call - the call to [Deep_]Finalize which cleans up the transient
    --    object if flag Finalize_Obj is set to True, or finalizes the hook when