[COMMITTED] ada: Deep delta aggregates cleanup.
Checks
Commit Message
From: Steve Baird <baird@adacore.com>
Cleanup after the introduction of deep delta aggregates.
Eliminate a new gnatcheck message.
gcc/ada/
* sem_aggr.adb: Replace "not Present (...)" call with "No (...)" call.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/sem_aggr.adb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -3903,7 +3903,7 @@ package body Sem_Aggr is
Prefix_Type : constant Entity_Id :=
Get_Component_Type (Prefix (Selector), Enclosing_Type);
begin
- if not Present (Prefix_Type) then
+ if No (Prefix_Type) then
pragma Assert (Serious_Errors_Detected > 0);
return Empty;
end if;