2014-08-04 Robert Dewar <dewar@adacore.com>
+ * exp_prag.adb, sem_ch7.adb, einfo.adb, sem_prag.adb, sem_util.adb,
+ exp_ch3.adb: Minor reformatting.
+
+2014-08-04 Robert Dewar <dewar@adacore.com>
+
* prj-strt.adb, prj-strt.ads, sem_attr.adb: Minor reformatting.
2014-08-04 Hristian Kirtchev <kirtchev@adacore.com>
(Num => Significand * 2 ** (Exponent mod 4),
Den => -Exponent / 4,
Rbase => 16);
-
else
return
UR_From_Components
begin
pragma Assert
- (Is_Type (Id)
- and then (Has_Default_Init_Cond (Id)
- or Has_Inherited_Default_Init_Cond (Id)));
+ (Is_Type (Id) and then (Has_Default_Init_Cond (Id)
+ or
+ Has_Inherited_Default_Init_Cond (Id)));
S := Subprograms_For_Type (Id);
Set_Subprograms_For_Type (Id, V);
-- Note that the check is generated for source objects only
if Comes_From_Source (Def_Id)
- and then (Has_Default_Init_Cond (Base_Typ)
- or else Has_Inherited_Default_Init_Cond (Base_Typ))
+ and then (Has_Default_Init_Cond (Base_Typ)
+ or else
+ Has_Inherited_Default_Init_Cond (Base_Typ))
then
declare
DIC_Call : constant Node_Id :=
Expression => New_Copy_Tree (Internal)),
Make_Pragma_Argument_Association (Eloc,
Expression =>
- Make_String_Literal (Sloc => Ploc,
- Strval => "common_object")),
+ Make_String_Literal (Sloc => Ploc, Strval => "common_object")),
Make_Pragma_Argument_Association (Ploc,
Expression => New_Copy_Tree (Psect)))));
end Expand_Pragma_Common_Object;
-- Inspect the entities defined in the package and ensure that all
-- incomplete types have received full declarations. Build default
- -- initial condition and invariant procedures for all types that
- -- qualify.
+ -- initial condition and invariant procedures for all qualifying types.
E := First_Entity (Id);
while Present (E) loop
if Pragma_Name (Stmt) = Pname then
Error_Msg_Name_1 := Pname;
Error_Msg_Sloc := Sloc (Stmt);
- Error_Msg_N ("pragma % duplicates pragma declared #", N);
+ Error_Msg_N ("pragma % duplicates pragma declared#", N);
end if;
-- Skip internally generated code
Make_Defining_Identifier (Loc,
Chars => New_External_Name (Chars (Typ), "Default_Init_Cond"));
- -- Associate the default initial condition procedure with the private
- -- type.
+ -- Associate default initial condition procedure with the private type
Set_Ekind (Proc_Id, E_Procedure);
Set_Is_Default_Init_Cond_Procedure (Proc_Id);