diff options
author | Marc Poulhiès <poulhies@adacore.com> | 2022-04-21 11:10:22 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-06-01 08:43:16 +0000 |
commit | 64f72fae73457e115dce001ba00a7d457af87c82 (patch) | |
tree | 7dcca10567bd57d33a8e18f7958f2b96e8772dd0 /gcc | |
parent | 5512eabc3e162c2c1e4c54febc716353519e51f0 (diff) | |
download | gcc-64f72fae73457e115dce001ba00a7d457af87c82.zip gcc-64f72fae73457e115dce001ba00a7d457af87c82.tar.gz gcc-64f72fae73457e115dce001ba00a7d457af87c82.tar.bz2 |
[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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/sinfo.ads | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ada/sinfo.ads b/gcc/ada/sinfo.ads index da42ae5..87042bd 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 |