+2013-04-11 Thomas Quinot <quinot@adacore.com>
+
+ * sem_ch10.adb, sem_ch12.adb: Minor reformatting.
+
2013-04-11 Robert Dewar <dewar@adacore.com>
* exp_attr.adb, sem_res.adb, sem_attr.adb: Minor reformatting.
-- Build and decorate the list of shadow entities for a package mentioned
-- in a limited_with clause. If the package was not previously analyzed
-- then it also performs a basic decoration of the real entities. This is
- -- required to do not pass non-decorated entities to the back-end.
- -- Implements Ada 2005 (AI-50217).
+ -- required in order to avoid passing non-decorated entities to the
+ -- back-end. Implements Ada 2005 (AI-50217).
procedure Check_Body_Needed_For_SAL (Unit_Name : Entity_Id);
-- Check whether the source for the body of a compilation unit must be
Make_Compilation_Unit (Sloc (N),
Context_Items => Empty_List,
Unit => Act_Decl,
- Aux_Decls_Node =>
- Make_Compilation_Unit_Aux (Sloc (N)));
+ Aux_Decls_Node => Make_Compilation_Unit_Aux (Sloc (N)));
Set_Parent_Spec (Act_Decl, Parent_Spec (N));
-- The two compilation unit nodes are linked by the Library_Unit field
- Set_Library_Unit (Decl_Cunit, Body_Cunit);
- Set_Library_Unit (Body_Cunit, Decl_Cunit);
+ Set_Library_Unit (Decl_Cunit, Body_Cunit);
+ Set_Library_Unit (Body_Cunit, Decl_Cunit);
-- Preserve the private nature of the package if needed
procedure Check_Access_Definition (N : Node_Id) is
begin
pragma Assert
- (Ada_Version >= Ada_2005
- and then Present (Access_Definition (N)));
+ (Ada_Version >= Ada_2005 and then Present (Access_Definition (N)));
null;
end Check_Access_Definition;