]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix spelling of functions with(out) "side effects"
authorYannick Moy <moy@adacore.com>
Wed, 15 Nov 2023 08:34:35 +0000 (09:34 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 30 Nov 2023 10:12:48 +0000 (11:12 +0100)
commite5eb84aa8ceebfa42c4fc02876f4902b461f87f3
treed49cbe54693d648b58555e89142391d3a19a3847
parent44eddd691e54c4128904b7ea35bc05f8e3741877
ada: Fix spelling of functions with(out) "side effects"

Correct spelling does not include an hyphen. Fix comments and one
error message.

Also fix other mispellings of "side-effect" or "side effect" depending
on the case (adjective should have hyphen), and "side-effect-free" with
double hyphen as an adjective.

gcc/ada/

* checks.adb, exp_aggr.adb, exp_ch4.ads, exp_ch5.adb,
exp_util.adb, exp_util.ads, inline.adb, sem_ch13.adb,
sem_ch6.adb, sem_ch8.adb, sem_prag.adb, sem_util.ads: Fix comments
and typos.
12 files changed:
gcc/ada/checks.adb
gcc/ada/exp_aggr.adb
gcc/ada/exp_ch4.ads
gcc/ada/exp_ch5.adb
gcc/ada/exp_util.adb
gcc/ada/exp_util.ads
gcc/ada/inline.adb
gcc/ada/sem_ch13.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_prag.adb
gcc/ada/sem_util.ads