diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-10-14 09:54:55 +0200 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-11-04 16:57:58 +0100 |
commit | f0f7beae693e6f6d0206c57a3be23fdc6598fcfd (patch) | |
tree | e3a6eafb3fc6e419a70a67152016ab16c9f92c36 /gcc | |
parent | ecd8a5990f6ebec89fc2f8ba79a349c3258c662c (diff) | |
download | gcc-f0f7beae693e6f6d0206c57a3be23fdc6598fcfd.zip gcc-f0f7beae693e6f6d0206c57a3be23fdc6598fcfd.tar.gz gcc-f0f7beae693e6f6d0206c57a3be23fdc6598fcfd.tar.bz2 |
ada: Tweak description of new predicate
The existing comment is a bit too vague.
gcc/ada/ChangeLog:
* exp_aggr.ads (Is_Two_Pass_Aggregate): Beef up comment.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/exp_aggr.ads | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/exp_aggr.ads b/gcc/ada/exp_aggr.ads index aa79616..2bbaeb2 100644 --- a/gcc/ada/exp_aggr.ads +++ b/gcc/ada/exp_aggr.ads @@ -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 |