2015-01-07 Robert Dewar <dewar@adacore.com>
commit5a74b7592a9dfad086b41e6a938fd0e11acd5e46
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jan 2015 08:49:42 +0000 (7 08:49 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jan 2015 08:49:42 +0000 (7 08:49 +0000)
tree0ef00988e6c21e125c8ed2a1737dc25fc10e6521
parentb10d0fb9f395604eb41d87b059a94d03a8af910f
2015-01-07  Robert Dewar  <dewar@adacore.com>

* prj.ads, i-cpoint.adb, freeze.adb, ghost.adb, prj-err.adb: Minor
reformatting.

2015-01-07  Robert Dewar  <dewar@adacore.com>

* restrict.adb (Check_Restriction_No_Use_Of_Attribute):
New procedure.
(OK_No_Use_Of_Entity_Name): New function.
(Set_Restriction_No_Use_Of_Entity): New procedure.
* restrict.ads (Check_Restriction_No_Use_Of_Attribute):
New procedure.
(OK_No_Use_Of_Entity_Name): New function.
(Set_Restriction_No_Use_Of_Entity): New procedure.
* sem_ch8.adb (Find_Direct_Name): Add check for violation of
No_Use_Of_Entity.
* sem_prag.adb (Process_Restrictions_Or_Restriction_Warnings):
Add processing for new restriction No_Use_Of_Entity.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219282 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/freeze.adb
gcc/ada/ghost.adb
gcc/ada/i-cpoint.adb
gcc/ada/prj-err.adb
gcc/ada/prj.ads
gcc/ada/restrict.adb
gcc/ada/restrict.ads
gcc/ada/sem_ch8.adb
gcc/ada/sem_prag.adb