diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2010-10-05 11:37:44 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2010-10-05 11:37:44 +0200 |
commit | 92817e897757f430013104a01dbbaf222f7d950a (patch) | |
tree | 497f5b4a920a207a3da99a885ebca648bd450e5b /gcc/ada/prj-env.ads | |
parent | eada5fd1cf4179586b126a4a6cf6a0e1f6e69a01 (diff) | |
download | gcc-92817e897757f430013104a01dbbaf222f7d950a.zip gcc-92817e897757f430013104a01dbbaf222f7d950a.tar.gz gcc-92817e897757f430013104a01dbbaf222f7d950a.tar.bz2 |
[multiple changes]
2010-10-05 Emmanuel Briot <briot@adacore.com>
* prj-env.adb, prj-env.ads (Set_Path): New subprogram.
(Deep_Copy): Removed, not used.
2010-10-05 Javier Miranda <miranda@adacore.com>
* sem_ch3.adb (Add_Internal_Interface_Entities): Code reorganization:
move code that searches in the list of primitives of a tagged type for
the entity that will be overridden by user-defined routines.
* sem_disp.adb (Find_Primitive_Covering_Interface): Move here code
previously located in routine Add_Internal_Interface_Entities.
* sem_disp.ads (Find_Primitive_Covering_Interface): Update documentation
* sem_ch6.adb (New_Overloaded_Entity): Add missing check on
availability of attribute Alias.
2010-10-05 Ed Falis <falis@adacore.com>
* s-taprop-vxworks.adb, s-osinte-vxworks.adb, s-osinte-vxworks.ads,
s-vxwext.ads, s-vxwext-kernel.ads, s-vxwext-rtp.adb, s-vxwext-rtp.ads:
Move definition of intContext to System.OS_Interface.
Add necessary variants in System.VxWorks.Extensions.
2010-10-05 Doug Rupp <rupp@adacore.com>
* s-asthan-vms-alpha.adb: On VMS, a task using
pragma AST_Entry exhibits a memory leak when the task terminates
because the vector allocated for the AST interface is not freed. Fixed
by making the vector a controlled type.
From-SVN: r164972
Diffstat (limited to 'gcc/ada/prj-env.ads')
-rw-r--r-- | gcc/ada/prj-env.ads | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ada/prj-env.ads b/gcc/ada/prj-env.ads index d4e3eb5..17d5e48 100644 --- a/gcc/ada/prj-env.ads +++ b/gcc/ada/prj-env.ads @@ -188,6 +188,11 @@ package Prj.Env is -- been called, the value set by the last call to Set_Project_Path. -- The returned value must not be modified. + procedure Set_Path + (Self : in out Project_Search_Path; Path : String); + -- Override the value of the project path. + -- This also removes the implicit default search directories + procedure Find_Project (Self : in out Project_Search_Path; Project_File_Name : String; @@ -202,10 +207,6 @@ package Prj.Env is -- (.gpr) for the file name is optional. -- Returns No_Name if no such project was found. - function Deep_Copy (Self : Project_Search_Path) return Project_Search_Path; - -- Return a deep copy of Self. The result can be modified independently of - -- Self, and must be freed by the caller - private package Projects_Paths is new GNAT.Dynamic_HTables.Simple_HTable (Header_Num => Header_Num, |