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/sem_util.ads | |
parent | 44eddd691e54c4128904b7ea35bc05f8e3741877 (diff) |
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/sem_util.ads')
-rw-r--r-- | gcc/ada/sem_util.ads | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_util.ads b/gcc/ada/sem_util.ads index 96b4730f4af..2fae35b6bc4 100644 --- a/gcc/ada/sem_util.ads +++ b/gcc/ada/sem_util.ads @@ -1480,7 +1480,7 @@ package Sem_Util is -- Is the given expression a container aggregate? function Is_Function_With_Side_Effects (Subp : Entity_Id) return Boolean; - -- Return True if Subp is a function with side-effects, ie. it has a + -- Return True if Subp is a function with side effects, ie. it has a -- (direct or inherited) pragma Side_Effects with static value True. function Is_Newly_Constructed |