[Ada] Simplify membership tests with N_Generic_Declaration
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 5 Oct 2021 12:12:46 +0000 (14:12 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 11 Oct 2021 13:38:11 +0000 (13:38 +0000)
commit945ec76b8e110e2ef291777e123482389f6594e6
tree067c58fa68597e68516baaea6116e856ab06b268
parent35338c60e4634e29d8704df6e7012fcdc7eb909c
[Ada] Simplify membership tests with N_Generic_Declaration

gcc/ada/

* sem_ch10.adb, sem_prag.adb, sem_util.adb: Use
N_Generic_Declaration in membership tests.
gcc/ada/sem_ch10.adb
gcc/ada/sem_prag.adb
gcc/ada/sem_util.adb