aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/prj-env.ads
diff options
context:
space:
mode:
authorEmmanuel Briot <briot@adacore.com>2009-04-24 10:42:30 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2009-04-24 12:42:30 +0200
commit8b9890fa4111e4892cac22bc6d694c56f45316cd (patch)
tree91ff2f053b43e69b2568c289f3b8b7443163499c /gcc/ada/prj-env.ads
parent76e776e5e8c79221e20b722f3de2aa47aff82a11 (diff)
downloadgcc-8b9890fa4111e4892cac22bc6d694c56f45316cd.zip
gcc-8b9890fa4111e4892cac22bc6d694c56f45316cd.tar.gz
gcc-8b9890fa4111e4892cac22bc6d694c56f45316cd.tar.bz2
prj-proc.adb, [...] (Project_Data.Seen): field removed.
2009-04-24 Emmanuel Briot <briot@adacore.com> * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, makeutl.adb, clean.adb, prj-nmsc.adb, prj-env.adb, prj-env.ads (Project_Data.Seen): field removed. This is not a property of the project, just a boolean used to traverse the project tree, and storing it in the structure prevents doing multiple traversal in parallel. (Project_Data.Checked): also removed, since it was playing the same role as Seen when we had two nested loops, and this is no longer necessary (For_All_Imported_Projects): removed, since in fact there was already the equivalent in For_Every_Project_Imported. The latter was rewritten to use a local hash table instead of Project_Data.Seen Various loops were rewritten to use For_Every_Project_Imported, thus removing the need for Project_Data.Seen. This avoids a lot of code duplication From-SVN: r146699
Diffstat (limited to 'gcc/ada/prj-env.ads')
-rw-r--r--gcc/ada/prj-env.ads7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/ada/prj-env.ads b/gcc/ada/prj-env.ads
index a558cf9..0f12ebb 100644
--- a/gcc/ada/prj-env.ads
+++ b/gcc/ada/prj-env.ads
@@ -172,11 +172,4 @@ package Prj.Env is
-- Iterate through all the object directories of a project, including
-- those of imported or modified projects.
- generic
- with procedure Action (Project : Project_Id);
- procedure For_All_Imported_Projects
- (Project : Project_Id;
- In_Tree : Project_Tree_Ref);
- -- Execute Action for Project and all imported or extended projects
-
end Prj.Env;