[Ada] Reuse Is_Generic_Subprogram where possible
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 28 Oct 2020 08:27:18 +0000 (09:27 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 26 Nov 2020 08:39:57 +0000 (03:39 -0500)
commitaa83f3d0b7cf49ae10eed1fc4539ba1997035fef
tree878fce3ead6b5f31590fdad03f96d852aac57f15
parentebf90d68e9472ad08e2840ecdbf0ad69fd339830
[Ada] Reuse Is_Generic_Subprogram where possible

gcc/ada/

* lib-writ.adb, sem_ch8.adb, sem_prag.adb: Use
Is_Generic_Subprogram instead of low-level membership tests.
gcc/ada/lib-writ.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_prag.adb