2020-06-16 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* freeze.adb (Freeze_Expression): Use consistent style and
formatting in a couple of cases.
-- case of array types.
when N_Expression_With_Actions =>
- if Is_List_Member (P)
- and then List_Containing (P) = Actions (Parent_P)
- then
- exit;
- end if;
+ exit when Is_List_Member (P)
+ and then List_Containing (P) = Actions (Parent_P);
-- N_Loop_Statement is a special case: a type that appears in
-- the source can never be frozen in a loop (this occurs only
when N_Loop_Statement
| N_If_Expression
- | N_Case_Expression =>
+ | N_Case_Expression
+ =>
exit when not Comes_From_Source (Etype (N))
and then (No (Nam) or else not Comes_From_Source (Nam));