[Ada] Minor refactoring
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 11 Jul 2019 08:03:28 +0000 (08:03 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 11 Jul 2019 08:03:28 +0000 (08:03 +0000)
commit929d520369a92d26bb734d79588ffde8aba6e8e8
treed1f8f4d6ab730798815921e4d5bee64c44c5dd6f
parent8b727104817f1b0c2a03013ed397e99f8673405c
[Ada] Minor refactoring

2019-07-11  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* checks.adb: Fix typo in comment.
* sem.adb (Semantics): Avoid repeated calls to
In_Extended_Main_Source_Unit by reusing an already-cached
result.
* sem_util.adb (First_Global): Fix style.

From-SVN: r273406
gcc/ada/ChangeLog
gcc/ada/checks.adb
gcc/ada/sem.adb
gcc/ada/sem_util.adb