]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Tweak description of new predicate
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 14 Oct 2024 07:54:55 +0000 (09:54 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 4 Nov 2024 15:57:58 +0000 (16:57 +0100)
The existing comment is a bit too vague.

gcc/ada/ChangeLog:

* exp_aggr.ads (Is_Two_Pass_Aggregate): Beef up comment.

gcc/ada/exp_aggr.ads

index aa79616c609a90af465b3d8f9078a9e47ba17d08..2bbaeb21741869c3a2d4ed757c615d76aaa15cdd 100644 (file)
@@ -60,7 +60,8 @@ package Exp_Aggr is
 
    function Is_Two_Pass_Aggregate (N : Node_Id) return Boolean;
    --  Return True if N is an aggregate that is to be expanded in two passes.
-   --  This is the case if it consists only of iterated associations.
+   --  This is the case if it consists only of iterated component associations
+   --  with iterator specifications, see RM 4.3.3(20.2/5).
 
    function Static_Array_Aggregate (N : Node_Id) return Boolean;
    --  N is an array aggregate that may have a component association with