diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-13 13:21:47 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-13 13:21:47 +0000 |
commit | 504b51e7b185179f4f08601f711e37d4c237be8c (patch) | |
tree | 7d58b5b4a02dc6f1de4d537cc33e9b1575010534 /gcc/ada/tbuild.ads | |
parent | 5d56d161527602e4c735691579f126f06c9b476e (diff) | |
download | gcc-504b51e7b185179f4f08601f711e37d4c237be8c.tar.gz |
2009-07-13 Ed Schonberg <schonberg@adacore.com>
* exp_ch7.adb, exp_util.adb, tbuild.adb, tbuild.ads, exp_ch4.adb,
exp_aggr.adb (Make_Temporary): Utility to create a defining identifier
and link it to the expression whose value it captures.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149585 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/tbuild.ads')
-rw-r--r-- | gcc/ada/tbuild.ads | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ada/tbuild.ads b/gcc/ada/tbuild.ads index efa8960516f..f12b616c93a 100644 --- a/gcc/ada/tbuild.ads +++ b/gcc/ada/tbuild.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2008, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- -- -- -- 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- -- @@ -175,6 +175,14 @@ package Tbuild is -- A convenient form of Make_String_Literal, where the string value -- is given as a normal string instead of a String_Id value. + function Make_Temporary + (Loc : Source_Ptr; + Id : Name_Id; + Related_Node : Node_Id := Empty) return Node_Id; + -- Create a defining identifier to capture the value of an expression + -- or aggregate, and link it to the expression that it replaces, in + -- order to provide better CodePeer reports. + function Make_Unsuppress_Block (Loc : Source_Ptr; Check : Name_Id; |