Commit 9d641fc0 by Thomas Quinot Committed by Arnaud Charlet

sem_aux.adb, [...]: Minor reformatting

2011-09-01  Thomas Quinot  <quinot@adacore.com>

	* sem_aux.adb, exp_ch4.adb: Minor reformatting

From-SVN: r178409
parent 4e71066d
2011-09-01 Thomas Quinot <quinot@adacore.com>
* sem_aux.adb, exp_ch4.adb: Minor reformatting
2011-09-01 Pascal Obry <obry@adacore.com> 2011-09-01 Pascal Obry <obry@adacore.com>
* prj-proc.adb, prj.ads, sinput-p.adb: Minor reformatting. * prj-proc.adb, prj.ads, sinput-p.adb: Minor reformatting.
......
...@@ -4183,8 +4183,8 @@ package body Exp_Ch4 is ...@@ -4183,8 +4183,8 @@ package body Exp_Ch4 is
if Present (Actions) then if Present (Actions) then
-- If we are not allowed to use Expression_With_Actions, just -- If we are not allowed to use Expression_With_Actions, just skip
-- skip the optimization, it is not critical for correctness. -- the optimization, it is not critical for correctness.
if not Use_Expression_With_Actions then if not Use_Expression_With_Actions then
goto Skip_Optimization; goto Skip_Optimization;
...@@ -4454,6 +4454,8 @@ package body Exp_Ch4 is ...@@ -4454,6 +4454,8 @@ package body Exp_Ch4 is
Temp_Decl : Node_Id; Temp_Decl : Node_Id;
Temp_Id : Node_Id; Temp_Id : Node_Id;
-- Start of processing for Process_Transient_Object
begin begin
-- Step 1: Create the access type which provides a reference to the -- Step 1: Create the access type which provides a reference to the
-- transient object. -- transient object.
......
...@@ -445,9 +445,7 @@ package body Sem_Aux is ...@@ -445,9 +445,7 @@ package body Sem_Aux is
Btype : constant Entity_Id := Base_Type (Ent); Btype : constant Entity_Id := Base_Type (Ent);
begin begin
if Error_Posted (Ent) if Error_Posted (Ent) or else Error_Posted (Btype) then
or else Error_Posted (Btype)
then
return False; return False;
elsif Is_Private_Type (Btype) then elsif Is_Private_Type (Btype) then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment