]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Remove repeated calls to Prefix in resolution of array accesses
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 1 Sep 2021 10:55:13 +0000 (12:55 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 4 Oct 2021 08:45:10 +0000 (08:45 +0000)
commitb680788460a9aad4fd86848bab06bd2f335db429
tree7ef672c353b31cf752518b50ff56e8df85feb2a7
parent3a6f30ed5da68be1fbc53a801093f31615db619b
[Ada] Remove repeated calls to Prefix in resolution of array accesses

gcc/ada/

* sem_res.adb (Resolve_Indexed_Component, Resolve_Slice): Rename
the local constant Name to Pref; remove repeated calls to
Prefix.
gcc/ada/sem_res.adb