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.
Tested on x86_64-pc-linux-gnu, committed on trunk
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
--- 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