[Ada] Reuse Is_Package_Or_Generic_Package where possible
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 12 Dec 2019 10:45:24 +0000 (11:45 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 2 Jun 2020 08:58:00 +0000 (04:58 -0400)
commita92db2624549f119a6f5c1e19c3013768b6bad3e
tree1993d05c7b90268f5da970985d969a204eb9ecb8
parent86b14bb1a93d8ef01678d132013a2006a4f00deb
[Ada] Reuse Is_Package_Or_Generic_Package where possible

2020-06-02  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* contracts.adb, einfo.adb, exp_ch9.adb, sem_ch12.adb,
sem_ch4.adb, sem_ch7.adb, sem_ch8.adb, sem_elab.adb,
sem_type.adb, sem_util.adb: Reuse Is_Package_Or_Generic_Package
where possible (similarly, reuse Is_Concurrent_Type if it was
possible in the same expressions).
gcc/ada/contracts.adb
gcc/ada/einfo.adb
gcc/ada/exp_ch9.adb
gcc/ada/sem_ch12.adb
gcc/ada/sem_ch4.adb
gcc/ada/sem_ch7.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_elab.adb
gcc/ada/sem_type.adb
gcc/ada/sem_util.adb