[Ada] Simplify Ekind tests with wrappers and membership tests
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 14 Oct 2020 21:30:49 +0000 (23:30 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 25 Nov 2020 13:22:36 +0000 (08:22 -0500)
commitad26cae122e1ffd7f1c34fd531d4329b8f4048da
tree89666d9c1b4a5362eb518907db82b506310c4be6
parent49c4dd7a229ce424379402deb295bf25d4c544e2
[Ada] Simplify Ekind tests with wrappers and membership tests

gcc/ada/

* einfo.adb: Use composite wrappers (e.g.
Is_Subprogram_Or_Entry) and membership tests where it appears to
improve clarity.
gcc/ada/einfo.adb