From: Marc Poulhiès Date: Thu, 21 Apr 2022 09:10:22 +0000 (+0200) Subject: [Ada] Add inline documentation for Is_{Parenthesis,Enum_Array}_Aggregate X-Git-Tag: basepoints/gcc-14~6331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64f72fae73457e115dce001ba00a7d457af87c82;p=thirdparty%2Fgcc.git [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 --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