Fix style violation reported by GNATcheck.
gcc/ada/
* sem_aggr.adb (Resolve_Container_Aggregate): Use "No".
* sem_ch8.adb (Find_Direct_Name): Likewise.
-- associations (Add_Unnnamed is not allowed), so we issue an
-- error if there are positional associations.
- if not Present (Comp_Assocs)
+ if No (Comp_Assocs)
and then Present (Expressions (N))
then
Error_Msg_N ("container aggregate must be "
Id : Entity_Id := Gen_Trailer;
begin
loop
- if not Present (Id) then
+ if No (Id) then
-- E_Trailer presumably occurred
-- earlier on the entity list than
-- Gen_Trailer. So E preceded the