einfo.ads, einfo.adb: Remove with and use clauses for Namet.
authorHristian Kirtchev <kirtchev@adacore.com>
Thu, 25 Apr 2013 10:13:14 +0000 (10:13 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 25 Apr 2013 10:13:14 +0000 (12:13 +0200)
commit42fdc85bfbf3b7eab8b860c2fcfdc3b7696acb2e
tree3977c15587116896b00f1879f3e75814b6a198d3
parent99a71c65ab06b6f960b80fd02879c003701eab41
einfo.ads, einfo.adb: Remove with and use clauses for Namet.

2013-04-25  Hristian Kirtchev  <kirtchev@adacore.com>

* einfo.ads, einfo.adb: Remove with and use clauses for Namet.
(Find_Pragma): New routine.
* sem_util.ads, sem_util.adb (Find_Pragma): Moved to einfo.

2013-04-25  Hristian Kirtchev  <kirtchev@adacore.com>

* sem_ch13.adb (Add_Call): Do not capture the nature of the inherited
predicate.
(Add_Predicates): Save the static predicate for diagnostics and error
reporting purposes.
(Process_PPCs): Remove local variables Dynamic_Predicate_Present and
Static_Predicate_Present. Add local variable Static_Pred. Ensure that
the expression of a static predicate is static.

From-SVN: r198283
gcc/ada/ChangeLog
gcc/ada/einfo.adb
gcc/ada/einfo.ads
gcc/ada/sem_ch13.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads