public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-876] [Ada] Add inline documentation for Is_{Parenthesis, Enum_Array}_Aggregate
@ 2022-06-01  8:44 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-06-01  8:44 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:64f72fae73457e115dce001ba00a7d457af87c82

commit r13-876-g64f72fae73457e115dce001ba00a7d457af87c82
Author: Marc Poulhiès <poulhies@adacore.com>
Date:   Thu Apr 21 11:10:22 2022 +0200

    [Ada] Add inline documentation for Is_{Parenthesis,Enum_Array}_Aggregate
    
    Both flags were added when square brackets for array/container
    aggregates have been enabled with -gnat2022 without their corresponding
    inline documentation. This change adds the missing documention.
    
    gcc/ada/
    
            * sinfo.ads: Add inline documention for Is_Parenthesis_Aggregate
            and Is_Enum_Array_Aggregate.

Diff:
---
 gcc/ada/sinfo.ads | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gcc/ada/sinfo.ads b/gcc/ada/sinfo.ads
index da42ae51e6f..87042bd97f6 100644
--- a/gcc/ada/sinfo.ads
+++ b/gcc/ada/sinfo.ads
@@ -1680,6 +1680,10 @@ package Sinfo is
    --    nodes which emulate the barrier function of a protected entry body.
    --    The flag is used when checking for incorrect use of Current_Task.
 
+   --  Is_Enum_Array_Aggregate
+   --    A flag set on an aggregate created internally while building the
+   --    images tables for enumerations.
+
    --  Is_Expanded_Build_In_Place_Call
    --    This flag is set in an N_Function_Call node to indicate that the extra
    --    actuals to support a build-in-place style of call have been added to
@@ -1794,6 +1798,9 @@ package Sinfo is
    --    overloading determination. The setting of this flag is not relevant
    --    once overloading analysis is complete.
 
+   --  Is_Parenthesis_Aggregate
+   --    A flag set on an aggregate that uses parentheses as delimiters
+
    --  Is_Power_Of_2_For_Shift
    --    A flag present only in N_Op_Expon nodes. It is set when the
    --    exponentiation is of the form 2 ** N, where the type of N is an
@@ -4024,7 +4031,9 @@ package Sinfo is
       --  Compile_Time_Known_Aggregate
       --  Expansion_Delayed
       --  Has_Self_Reference
+      --  Is_Enum_Array_Aggregate
       --  Is_Homogeneous_Aggregate
+      --  Is_Parenthesis_Aggregate
       --  plus fields for expression
 
       --  Note: this structure is used for both record and array aggregates


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-01  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-01  8:44 [gcc r13-876] [Ada] Add inline documentation for Is_{Parenthesis, Enum_Array}_Aggregate Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).