[Ada] Replace low-level membership tests with high-level routines
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 21 Aug 2019 08:29:37 +0000 (08:29 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 21 Aug 2019 08:29:37 +0000 (08:29 +0000)
commit5188952e59475e3744c88aba9d9e8b07c8364987
tree0bd9337fe385e902846c2fe02e621a9b1e628790
parent93a08e1e4a6218aaccac5538cf0b263ddae78ff8
[Ada] Replace low-level membership tests with high-level routines

Code cleanup to improve readablity. Semantics unaffected.

2019-08-21  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* exp_util.adb (Corresponding_Runtime_Package): Use high-level
Is_Protected_Type.
* sem_ch8.adb (Analyze_Renamed_Entry): Likewise.
* sem_ch9.adb (Analyze_Requeue): Likewise.

From-SVN: r274777
gcc/ada/ChangeLog
gcc/ada/exp_util.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_ch9.adb