2016-05-02 Arnaud Charlet <charlet@adacore.com>
authorArnaud Charlet <charlet@adacore.com>
Mon, 2 May 2016 10:00:00 +0000 (10:00 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 2 May 2016 10:00:00 +0000 (12:00 +0200)
commit4871a41df95577e9c43dcf118d46e7faf733ef94
treef2f6e97b3894a51e65b162e94b2a54702fc8fb8d
parent8d4611f7b0399ae3726185659f230b8b86f6a81e
2016-05-02  Arnaud Charlet  <charlet@adacore.com>

* spark_xrefs.ads Description of the spark cross-references
clarified; small style fixes.
* lib-xref-spark_specific.adb (Add_SPARK_Scope,
Detect_And_Add_SPARK_Scope): consider protected types and bodies
as yet another scopes.
(Enclosing_Subprogram_Or_Library_Package): refactored using
Hristian's suggestions; added support for scopes of protected
types and bodies; fix for entries to return the scope of the
enclosing concurrent type, which is consistent with what is
returned for protected subprograms.
* sem_intr.adb: Minor style fix in comment.

From-SVN: r235731
gcc/ada/ChangeLog
gcc/ada/lib-xref-spark_specific.adb
gcc/ada/sem_intr.adb
gcc/ada/spark_xrefs.ads