[Ada] Simplify detection of delayed aggregates
gcc/ada/ * exp_aggr.adb (Is_Delayed_Aggregate): Simplify.
This commit is contained in:
committed by
Pierre-Marie de Rodat
parent
b52e15202c
commit
90084d7400
@@ -8978,11 +8978,8 @@ package body Exp_Aggr is
|
||||
Kind := Nkind (Node);
|
||||
end if;
|
||||
|
||||
if Kind not in N_Aggregate | N_Extension_Aggregate then
|
||||
return False;
|
||||
else
|
||||
return Expansion_Delayed (Node);
|
||||
end if;
|
||||
return Kind in N_Aggregate | N_Extension_Aggregate
|
||||
and then Expansion_Delayed (Node);
|
||||
end Is_Delayed_Aggregate;
|
||||
|
||||
--------------------------------
|
||||
|
||||
Reference in New Issue
Block a user