[Ada] Replace low-level membership tests with Is_Private_Type
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 19 May 2021 10:05:31 +0000 (12:05 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 7 Jul 2021 16:23:13 +0000 (16:23 +0000)
commit131c9affbde6ed68d2c42a0bea8839e1ba8a9f7e
tree99d3d7c60cdb771a20a2d313d7e3e843cea10e95
parent19456797d1d0aa059b9892698f0f979fa29d824c
[Ada] Replace low-level membership tests with Is_Private_Type

gcc/ada/

* exp_ch3.adb, exp_ch6.adb, sem_ch6.adb: Replace Ekind
membership test in Private_Kind with a call to Is_Private_Type.
gcc/ada/exp_ch3.adb
gcc/ada/exp_ch6.adb
gcc/ada/sem_ch6.adb