aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch7.adb
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2017-09-06 12:01:13 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2017-09-06 14:01:13 +0200
commit643827e99051c3ce6077d8bb332290741dc90571 (patch)
treee52a39b62571b39e7f56f1931e9f955031101a42 /gcc/ada/sem_ch7.adb
parent66f95f60458a1da2e82c4b879357ebe36fcdb879 (diff)
downloadgcc-643827e99051c3ce6077d8bb332290741dc90571.zip
gcc-643827e99051c3ce6077d8bb332290741dc90571.tar.gz
gcc-643827e99051c3ce6077d8bb332290741dc90571.tar.bz2
exp_util.adb (Side_Effect_Free): For CodePeer (only) treat uses of 'Image and related attributes as having side...
2017-09-06 Steve Baird <baird@adacore.com> * exp_util.adb (Side_Effect_Free): For CodePeer (only) treat uses of 'Image and related attributes as having side effects in order to avoid replicating such uses. * pprint.ads (Expression_Image) Add new generic formal flag Hide_Temp_Derefs. The flag defaults to False; CodePeer will (eventually) override the default. * pprint.adb (Expression_Image) If the new flag is set, then suppress the ".all" suffix when displaying a dereference whose prefix is a use of a value-capturing compiler temp of the sort generated by Expr_Util.Remove_Side_Effects . * exp_attr.adb, g-catiio.adb, inline.adb, sem_attr.adb, sem_ch13.adb, sem_ch7.adb, sem_dim.adb, sem_util.adb, sem_util.ads, sem_warn.adb: Minor reformatting. * inline.adb: Minor wording change. From-SVN: r251784
Diffstat (limited to 'gcc/ada/sem_ch7.adb')
-rw-r--r--gcc/ada/sem_ch7.adb1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/ada/sem_ch7.adb b/gcc/ada/sem_ch7.adb
index 3da7987..b0f6bd9 100644
--- a/gcc/ada/sem_ch7.adb
+++ b/gcc/ada/sem_ch7.adb
@@ -248,7 +248,6 @@ package body Sem_Ch7 is
--------------------------
procedure Hide_Public_Entities (Decls : List_Id) is
-
function Has_Referencer
(Decls : List_Id;
Top_Level : Boolean := False) return Boolean;