ada: Simplify "not Present" with "No"

gcc/ada/

	* exp_aggr.adb (Expand_Container_Aggregate): Simplify with "No".
This commit is contained in:
Piotr Trojanek 2023-09-25 17:30:57 +02:00 committed by Marc Poulhiès
parent 19cc4b9d74
commit 7b1b787baa

View File

@ -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;