]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Cleanup repeated calls in Sloc_Range
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 3 Mar 2021 10:45:41 +0000 (11:45 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 16 Jun 2021 08:43:04 +0000 (04:43 -0400)
commit207962b929cc771fd560c467f44efe8f9f679ac4
tree29974c092086044df5fb3328cb06f8fb8ef96057
parentcc9a7ae2299a530f087ee5dc83876fd44534104a
[Ada] Cleanup repeated calls in Sloc_Range

gcc/ada/

* sinput.adb (Sloc_Range): Refactor several repeated calls to
Sloc and two comparisons with No_Location.
gcc/ada/sinput.adb