[Ada] Use Is_Incomplete_Type instead of a low-level Ekind test
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 16 Jan 2020 17:56:38 +0000 (18:56 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 5 Jun 2020 12:17:48 +0000 (08:17 -0400)
commit2db2527a8dc7e2d2da8893a339ec863b72079bb4
tree2d816a11f020f093a40d78432b7e65bb4666574b
parent50554999f23127a962ef17f1ea06961a09811f75
[Ada] Use Is_Incomplete_Type instead of a low-level Ekind test

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

gcc/ada/

* exp_ch3.adb, sem_ch8.adb, sem_util.adb: Use Is_Incomplete_Type
to make the code easier to read.
gcc/ada/exp_ch3.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_util.adb