[Ada] Cleanups in code related to static expressions
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 16 Apr 2020 09:03:49 +0000 (11:03 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 18 Jun 2020 09:08:22 +0000 (05:08 -0400)
commitc94bbfbe57de7eccec1f3b2fe0da594014ac6088
treeca2a2df9540496bd9cbfcd7fc09e76964c1bc9d7
parent0f7b6a2eb31828b17bba64423249a61266090d5d
[Ada] Cleanups in code related to static expressions

2020-06-18  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* checks.adb, sem_ch3.adb: Minor refactorings.
* sem_eval.adb (Eval_Qualified_Expression): Fix reference to RM
rule in comment; only set a local variable Hex in the branch
where it is used.
gcc/ada/checks.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_eval.adb