[Ada] Small cleanup in Eval_Integer_Literal
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 11 Oct 2021 14:56:06 +0000 (16:56 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 20 Oct 2021 10:17:03 +0000 (10:17 +0000)
commit4b39bab947436640c20624ec58b61830c8ab2d71
treecab002ded5778c8f6f28b0183adf4c1dbc215ae4
parent0a8dcff179804d928b20ea8c2a40bc73035acaf3
[Ada] Small cleanup in Eval_Integer_Literal

gcc/ada/

* sem_eval.ads (Check_Non_Static_Context): Update documentation.
* sem_eval.adb (In_Any_Integer_Context): Change parameter type,
adjust accordingly and remove unreachable case.
(Eval_Integer_Literal): Consider the node kind throughout and
trim down verbose condition.
gcc/ada/sem_eval.adb
gcc/ada/sem_eval.ads