[Ada] Reuse Is_Named_Number where possible
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 14 Oct 2020 22:55:16 +0000 (00:55 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 25 Nov 2020 13:22:39 +0000 (08:22 -0500)
commit6d97121d2fa61d4de1e230e586dcb4812317f284
tree7120a07394399fb9ac141be30c8dc4dd8af7f6fa
parent28488f5ff5abe8edec60d45599dcb85c735989d0
[Ada] Reuse Is_Named_Number where possible

gcc/ada/

* sem_ch13.adb (Check_Expr_Constants): Simplify with
Is_Named_Number.
* sem_prag.adb (Process_Convention): Likewise.
gcc/ada/sem_ch13.adb
gcc/ada/sem_prag.adb