aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/einfo.adb
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2017-01-12 13:18:47 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2017-01-12 14:18:47 +0100
commit6e759c2a0f950ce535e7907db39ddc3866782ade (patch)
tree34bbc627f9d596a221f332486cdfee42a77f8d6b /gcc/ada/einfo.adb
parent6bb4ea5cdf9664f2cec861a2a120192b4ac04d1f (diff)
downloadgcc-6e759c2a0f950ce535e7907db39ddc3866782ade.zip
gcc-6e759c2a0f950ce535e7907db39ddc3866782ade.tar.gz
gcc-6e759c2a0f950ce535e7907db39ddc3866782ade.tar.bz2
contracts.adb, [...] (Pragma_Name): Change name to Pragma_Name_Unmapped.
2017-01-12 Bob Duff <duff@adacore.com> * contracts.adb, einfo.adb, errout.adb, exp_attr.adb, exp_ch3.adb, exp_ch7.adb, exp_ch9.adb, exp_prag.adb, freeze.adb, frontend.adb, ghost.adb, inline.adb, lib-writ.adb, lib-xref.adb, par.adb, par-ch10.adb, par-ch2.adb, par-prag.adb, par_sco.adb, sem_attr.adb, sem_aux.adb, sem_ch10.adb, sem_ch12.adb, sem_ch13.adb, sem_ch6.adb, sem_ch8.adb, sem_ch9.adb, sem_elab.adb, sem_prag.adb, sem_res.adb, sem_util.adb, sem_util.ads, sem_warn.adb, sinfo.adb, sinfo.ads, sprint.adb (Pragma_Name): Change name to Pragma_Name_Unmapped. (Pragma_Name_Mapped): Change name to Pragma_Name. This is because the "mapped" version should be the usual case. From-SVN: r244352
Diffstat (limited to 'gcc/ada/einfo.adb')
-rw-r--r--gcc/ada/einfo.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/einfo.adb b/gcc/ada/einfo.adb
index f62c139..213bfa8 100644
--- a/gcc/ada/einfo.adb
+++ b/gcc/ada/einfo.adb
@@ -7364,7 +7364,7 @@ package body Einfo is
while Present (Item) loop
if Nkind (Item) = N_Pragma
- and then Get_Pragma_Id (Pragma_Name (Item)) = Id
+ and then Get_Pragma_Id (Pragma_Name_Unmapped (Item)) = Id
then
return Item;
@@ -7416,7 +7416,7 @@ package body Einfo is
Ritem := First_Rep_Item (Id);
while Present (Ritem) loop
if Nkind (Ritem) = N_Pragma
- and then Pragma_Name_Mapped (Ritem) = Name_Attach_Handler
+ and then Pragma_Name (Ritem) = Name_Attach_Handler
then
return True;
else
@@ -7486,7 +7486,7 @@ package body Einfo is
Ritem := First_Rep_Item (Id);
while Present (Ritem) loop
if Nkind (Ritem) = N_Pragma
- and then Pragma_Name_Mapped (Ritem) = Name_Interrupt_Handler
+ and then Pragma_Name (Ritem) = Name_Interrupt_Handler
then
return True;
else