Skip to content

Commit afdd30d

Browse files
[clang] Proofread UsersManual.rst (NFC) (#149763)
1 parent 1229323 commit afdd30d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

clang/docs/UsersManual.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ output format of the diagnostics that it generates.
319319

320320
This option, which defaults to "none", controls whether or not Clang
321321
prints the category associated with a diagnostic when emitting it.
322-
Each diagnostic may or many not have an associated category, if it
322+
Each diagnostic may or may not have an associated category, if it
323323
has one, it is listed in the diagnostic categorization field of the
324324
diagnostic line (in the []'s).
325325

@@ -737,7 +737,7 @@ control the crash diagnostics.
737737
crash diagnostics files, but with lower precedence than the option.
738738

739739
Clang is also capable of generating preprocessed source file(s) and associated
740-
run script(s) even without a crash. This is specially useful when trying to
740+
run script(s) even without a crash. This is especially useful when trying to
741741
generate a reproducer for warnings or errors while using modules.
742742

743743
.. option:: -gen-reproducer
@@ -1061,7 +1061,7 @@ In this way, the user may only need to specify a root configuration file with
10611061

10621062
Usually, config file options are placed before command-line options, regardless
10631063
of the actual operation to be performed. The exception is being made for the
1064-
options prefixed with the ``$`` character. These will be used only when linker
1064+
options prefixed with the ``$`` character. These will be used only when the linker
10651065
is being invoked, and added after all of the command-line specified linker
10661066
inputs. Here is some example of ``$``-prefixed options:
10671067

@@ -1222,7 +1222,7 @@ existed.
12221222
The push and pop pragmas will save and restore the full diagnostic state
12231223
of the compiler, regardless of how it was set. It should be noted that while Clang
12241224
supports the GCC pragma, Clang and GCC do not support the exact same set
1225-
of warnings, so even when using GCC compatible #pragmas there is no
1225+
of warnings, so even when using GCC-compatible #pragmas there is no
12261226
guarantee that they will have identical behaviour on both compilers.
12271227

12281228
Clang also doesn't yet support GCC behavior for ``#pragma diagnostic pop``
@@ -1681,7 +1681,7 @@ for more details.
16811681
* ``preserve-sign`` - the sign of a flushed-to-zero number is preserved in the sign of 0
16821682
* ``positive-zero`` - denormals are flushed to positive zero
16831683

1684-
The default value depends on the target. For most targets, defaults to
1684+
The default value depends on the target. For most targets, it defaults to
16851685
``ieee``.
16861686

16871687
.. option:: -f[no-]strict-float-cast-overflow
@@ -1730,7 +1730,7 @@ for more details.
17301730
the C and C++ standards but can be enabled using ``-ffp-contract=fast``.
17311731

17321732
Fusion can be controlled with the ``FP_CONTRACT`` and ``clang fp contract``
1733-
pragmas. Please note that pragmas will be ingored with
1733+
pragmas. Please note that pragmas will be ignored with
17341734
``-ffp-contract=fast``, and refer to the pragma documentation for a
17351735
description of how the pragmas interact with the different ``-ffp-contract``
17361736
option values.
@@ -1984,11 +1984,11 @@ for more details.
19841984
call to runtime library functions (generally the case, but the BE might
19851985
sometimes replace the library call if it knows enough about the potential
19861986
range of the inputs). Overflow and non-finite values are handled by the
1987-
library implementation. For the case of multiplication overflow will occur in
1987+
library implementation. For the case of multiplication, overflow will occur in
19881988
accordance with normal floating-point rules. This is the default value.
19891989
* ``promoted`` Implementation of complex division using algebraic formulas at
19901990
higher precision. Overflow is handled. Non-finite values are handled in some
1991-
cases. If the target does not have native support for a higher precision
1991+
cases. If the target does not have native support for a higher-precision
19921992
data type, the implementation for the complex operation using the Smith
19931993
algorithm will be used. Overflow may still occur in some cases. NaN and
19941994
infinite values are not handled.

0 commit comments

Comments
 (0)