[Ada] Explain predicate function not being inherited by index type
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 23 Jun 2020 19:45:31 +0000 (21:45 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 15 Oct 2020 09:39:11 +0000 (05:39 -0400)
commit1d1e5e2e2cd122e4836f05072dbe430a451870fd
tree722aa42516bf6aa8d8541fa36e3eca035d3fa06e
parent2b47f13daba17a6e77e74a94ac0daeadbd30a482
[Ada] Explain predicate function not being inherited by index type

gcc/ada/

* sem_ch3.adb (Analyze_Subtype_Declaration): Fix style.
(Make_Index): Refactor to avoid repeated detection of subtype
indication; add comment.
gcc/ada/sem_ch3.adb