Commit 50421527 by Arnaud Charlet

[multiple changes]

2012-03-30  Vincent Celier  <celier@adacore.com>

	* prj.ads: New Dependency_Kind: ALI_Closure.

2012-03-30  Thomas Quinot  <quinot@adacore.com>

	* exp_pakd.adb: Minor reformatting.

From-SVN: r185998
parent 2fa3b955
2012-03-30 Vincent Celier <celier@adacore.com>
* prj.ads: New Dependency_Kind: ALI_Closure.
2012-03-30 Thomas Quinot <quinot@adacore.com>
* exp_pakd.adb: Minor reformatting.
2012-03-30 Yannick Moy <moy@adacore.com> 2012-03-30 Yannick Moy <moy@adacore.com>
* lib-xref-alfa.adb (Add_Alfa_File): Take into account possible absence * lib-xref-alfa.adb (Add_Alfa_File): Take into account possible absence
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
-- -- -- --
-- B o d y -- -- B o d y --
-- -- -- --
-- Copyright (C) 1992-2011, Free Software Foundation, Inc. -- -- Copyright (C) 1992-2012, Free Software Foundation, Inc. --
-- -- -- --
-- GNAT is free software; you can redistribute it and/or modify it under -- -- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- -- -- terms of the GNU General Public License as published by the Free Soft- --
...@@ -509,7 +509,7 @@ package body Exp_Pakd is ...@@ -509,7 +509,7 @@ package body Exp_Pakd is
Shift : out Node_Id); Shift : out Node_Id);
-- This procedure performs common processing on the N_Indexed_Component -- This procedure performs common processing on the N_Indexed_Component
-- parameter given as N, whose prefix is a reference to a packed array. -- parameter given as N, whose prefix is a reference to a packed array.
-- This is used for the get and set when the component size is 1,2,4 -- This is used for the get and set when the component size is 1, 2, 4,
-- or for other component sizes when the packed array type is a modular -- or for other component sizes when the packed array type is a modular
-- type (i.e. the cases that are handled with inline code). -- type (i.e. the cases that are handled with inline code).
-- --
...@@ -1472,10 +1472,10 @@ package body Exp_Pakd is ...@@ -1472,10 +1472,10 @@ package body Exp_Pakd is
end if; end if;
end if; end if;
-- Now create copies removing side effects. Note that in some -- Now create copies removing side effects. Note that in some complex
-- complex cases, this may cause the fact that we have already -- cases, this may cause the fact that we have already set a packed
-- set a packed array type on Obj to get lost. So we save the -- array type on Obj to get lost. So we save the type of Obj, and
-- type of Obj, and make sure it is reset properly. -- make sure it is reset properly.
declare declare
T : constant Entity_Id := Etype (Obj); T : constant Entity_Id := Etype (Obj);
......
...@@ -296,7 +296,7 @@ package body Prj is ...@@ -296,7 +296,7 @@ package body Prj is
when Makefile => when Makefile =>
return Extend_Name (Source_File_Name, Makefile_Dependency_Suffix); return Extend_Name (Source_File_Name, Makefile_Dependency_Suffix);
when ALI_File => when ALI_File | ALI_Closure =>
return Extend_Name (Source_File_Name, ALI_Dependency_Suffix); return Extend_Name (Source_File_Name, ALI_Dependency_Suffix);
end case; end case;
end Dependency_Name; end Dependency_Name;
......
...@@ -298,9 +298,9 @@ package Prj is ...@@ -298,9 +298,9 @@ package Prj is
-- Type for the kind of language. All languages are file based, except Ada -- Type for the kind of language. All languages are file based, except Ada
-- which is unit based. -- which is unit based.
type Dependency_File_Kind is (None, Makefile, ALI_File); type Dependency_File_Kind is (None, Makefile, ALI_File, ALI_Closure);
-- Type of dependency to be checked: no dependency file, Makefile fragment -- Type of dependency to be checked: no dependency file, Makefile fragment
-- or ALI file (for Ada). -- or ALI file (for Ada). Please comment ALI_Closure ???
Makefile_Dependency_Suffix : constant String := ".d"; Makefile_Dependency_Suffix : constant String := ".d";
ALI_Dependency_Suffix : constant String := ".ali"; ALI_Dependency_Suffix : constant String := ".ali";
......
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