diff options
author | Yannick Moy <moy@adacore.com> | 2023-11-15 09:34:35 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-11-30 11:12:48 +0100 |
commit | e5eb84aa8ceebfa42c4fc02876f4902b461f87f3 (patch) | |
tree | d49cbe54693d648b58555e89142391d3a19a3847 /gcc/ada/inline.adb | |
parent | 44eddd691e54c4128904b7ea35bc05f8e3741877 (diff) | |
download | gcc-e5eb84aa8ceebfa42c4fc02876f4902b461f87f3.zip gcc-e5eb84aa8ceebfa42c4fc02876f4902b461f87f3.tar.gz gcc-e5eb84aa8ceebfa42c4fc02876f4902b461f87f3.tar.bz2 |
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.
Diffstat (limited to 'gcc/ada/inline.adb')
-rw-r--r-- | gcc/ada/inline.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/inline.adb b/gcc/ada/inline.adb index 1fbbe6d..cc2bc3a 100644 --- a/gcc/ada/inline.adb +++ b/gcc/ada/inline.adb @@ -3726,7 +3726,7 @@ package body Inline is Insert_After (Parent (Entity (N)), Blk); -- If the context is an assignment, and the left-hand side is free of - -- side-effects, the replacement is also safe. + -- side effects, the replacement is also safe. elsif Nkind (Parent (N)) = N_Assignment_Statement and then |