[Ada] Reuse Is_Concurrent_Type when detecting protected or task types
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 26 Oct 2020 11:15:34 +0000 (12:15 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 26 Nov 2020 08:39:48 +0000 (03:39 -0500)
commita160b4e046d11b51cbedb936b13d15e3d0b19f7e
tree7d57e0f485e4ef5287dd7156f3126af10ce60abe
parent416f9a2726513adc796ca7ed2145fca54da9fd1d
[Ada] Reuse Is_Concurrent_Type when detecting protected or task types

gcc/ada/

* exp_ch13.adb, exp_ch9.adb, sem_ch8.adb, sem_util.adb: Replace
a combination of Is_Protected_Type and Is_Task_Type by
Is_Concurrent_Type.
gcc/ada/exp_ch13.adb
gcc/ada/exp_ch9.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_util.adb