diff options
author | Ed Schonberg <schonberg@adacore.com> | 2009-07-13 13:21:47 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-07-13 15:21:47 +0200 |
commit | ae525aa88f6af6131501a6171e3ee62e6b981b51 (patch) | |
tree | 7d58b5b4a02dc6f1de4d537cc33e9b1575010534 /gcc/ada/tbuild.ads | |
parent | a7209434bdc1561d3adf2bc2c848c3b6ba74f19d (diff) | |
download | gcc-ae525aa88f6af6131501a6171e3ee62e6b981b51.tar.gz |
exp_ch7.adb, [...] (Make_Temporary): Utility to create a defining identifier and link it to the expression whose...
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.
From-SVN: r149585
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; |