[Ada] Rename parameter of routines in Checks
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 30 Jan 2020 12:23:31 +0000 (13:23 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 5 Jun 2020 12:17:34 +0000 (08:17 -0400)
commit6c8e70fe86da1b52160aa380f30cbb1bf644c407
tree8c0199b09534a8b92c25fb2219fe4c1391e4f9b5
parenta4c17870b85470fa3b4727bfe2dbac7ca7464e50
[Ada] Rename parameter of routines in Checks

2020-06-05  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* checks.ads (Apply_Length_Check): Rename Ck_Node parameter to
Expr.
(Apply_Range_Check): Likewise.
(Get_Range_Checks): Likewise.
* checks.adb (Apply_Float_Conversion_Check): Likewise.
(Apply_Selected_Length_Checks): Likewise.
(Apply_Selected_Range_Checks): Likewise.
(Guard_Access): Likewise.
(Selected_Length_Checks): Likewise.  Also avoid shadowing in
child procedures.
(Selected_Range_Checks): Likewise.
gcc/ada/checks.adb
gcc/ada/checks.ads