mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-13 00:10:45 +08:00
ada: Simplify "not Present" with "No"
gcc/ada/ * exp_aggr.adb (Expand_Container_Aggregate): Simplify with "No".
This commit is contained in:
parent
19cc4b9d74
commit
7b1b787baa
@ -7288,7 +7288,7 @@ package body Exp_Aggr is
|
||||
-- Iterated component association. Discard
|
||||
-- positional insertion procedure.
|
||||
|
||||
if not Present (Iterator_Specification (Comp)) then
|
||||
if No (Iterator_Specification (Comp)) then
|
||||
Add_Named_Subp := Assign_Indexed_Subp;
|
||||
Add_Unnamed_Subp := Empty;
|
||||
end if;
|
||||
|
Loading…
Reference in New Issue
Block a user