summaryrefslogtreecommitdiff
path: root/gcc/ada/prj.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2012-04-26 11:49:04 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2012-04-26 11:49:04 +0200
commitfcf848c4f7f38420c3bbec193bf0fbc629ebe8df (patch)
tree377f1b871b76d4821d44212dba3d76960aac53ef /gcc/ada/prj.ads
parent68f640f221af5ffdaf1e06a2e146287c346b590a (diff)
downloadgcc-fcf848c4f7f38420c3bbec193bf0fbc629ebe8df.tar.gz
[multiple changes]
2012-04-26 Robert Dewar <dewar@adacore.com> * exp_aggr.adb: Minor reformatting. 2012-04-26 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch7.adb (Expand_Cleanup_Actions): Update the call to Requires_Cleanup_Actions. * exp_util.adb (Requires_Cleanup_Actions (List_Id; Boolean; Boolean)): Rename formal parameter For_Package to Lib_Level to better reflect its purpose. Update the related comment and all occurrences of For_Package in the body. (Requires_Cleanup_Actions (Node_Id; Boolean)): Add new formal parameter Lib_Level. Add local constant At_Lib_Level to keep monitor whether the path taken from the top-most context to the current construct involves package constructs. Update all calls to Requires_Cleanup_Actions. * exp_util.ads (Requires_Cleanup_Actions): Add new formal parameter Lib_Level and associated comment. 2012-04-26 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Process_Formals): If the type of the formal is a non null access type, mark the generated subtype as having a delayed freeze only if the designated type is not frozen yet. 2012-04-26 Vincent Celier <celier@adacore.com> * prj-attr.adb: New package Clean with attributes Object_Artifact_Extensions and Source_Artifact_Extensions. * prj-nmsc.adb (Process_Clean): Process new package Clean * prj.ads (Language_Config): New components Clean_Object_Artifacts and Clean_Source_Artifacts. * snames.ads-tmpl: New standard names Clean, Object_Artifact_Extensions and Source_Artifact_Extensions. From-SVN: r186867
Diffstat (limited to 'gcc/ada/prj.ads')
-rw-r--r--gcc/ada/prj.ads10
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ada/prj.ads b/gcc/ada/prj.ads
index a95ac732813..696db4ac530 100644
--- a/gcc/ada/prj.ads
+++ b/gcc/ada/prj.ads
@@ -606,6 +606,12 @@ package Prj is
Toolchain_Description : Name_Id := No_Name;
-- Hold the value of attribute Toolchain_Description for the language
+ Clean_Object_Artifacts : Name_List_Index := No_Name_List;
+ -- List of object artifact extensions to be deleted by gprclean
+
+ Clean_Source_Artifacts : Name_List_Index := No_Name_List;
+ -- List of source artifact extensions to be deleted by gprclean
+
end record;
No_Language_Config : constant Language_Config :=
@@ -654,7 +660,9 @@ package Prj is
Binder_Required_Switches => No_Name_List,
Binder_Prefix => No_Name,
Toolchain_Version => No_Name,
- Toolchain_Description => No_Name);
+ Toolchain_Description => No_Name,
+ Clean_Object_Artifacts => No_Name_List,
+ Clean_Source_Artifacts => No_Name_List);
-- The following record ???