Skip to content

Commit ab97b89

Browse files
authored
[llvm][docs]: fix typos (#71303)
1 parent 1950190 commit ab97b89

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

llvm/docs/CommandGuide/dsymutil.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ OPTIONS
3434

3535
.. option:: --build-variant-suffix <suffix=buildvariant>
3636

37-
Specify the build variant suffix used to build the executabe file.
37+
Specify the build variant suffix used to build the executable file.
3838
There can be multiple variants for the binary of a product, each built
3939
slightly differently. The most common build variants are 'debug' and
4040
'profile'. Setting the DYLD_IMAGE_SUFFIX environment variable will

llvm/docs/CommandGuide/llvm-remarkutil.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Summary
123123
^^^^^^^
124124

125125
:program:`llvm-remarkutil count` counts `remarks <https://llvm.org/docs/Remarks.html>` based on specified properties.
126-
By default the tool counts remarks based on how many occour in a source file or function or total for the generated remark file.
126+
By default the tool counts remarks based on how many occur in a source file or function or total for the generated remark file.
127127
The tool also supports collecting count based on specific remark arguments. The specified arguments should have an integer value to be able to report a count.
128128

129129
The tool contains utilities to filter the remark count based on remark name, pass name, argument value and remark type.
@@ -149,7 +149,7 @@ OPTIONS
149149
* ``Total``: Report a count for the provided remark file.
150150

151151
.. option:: --args[=arguments]
152-
If `count-by` is set to `arg` this flag can be used to collect from specified remark arguments represented as a comma seperated string.
152+
If `count-by` is set to `arg` this flag can be used to collect from specified remark arguments represented as a comma separated string.
153153
The arguments must have a numeral value to be able to count remarks by
154154

155155
.. option:: --rargs[=arguments]

llvm/docs/LangRef.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6135,7 +6135,7 @@ The current supported opcode vocabulary is limited:
61356135
instruction.
61366136

61376137
Because ``DW_OP_LLVM_entry_value`` is defined in terms of registers, it is
6138-
usually used in MIR, but it is also allowed in LLVM IR when targetting a
6138+
usually used in MIR, but it is also allowed in LLVM IR when targeting a
61396139
:ref:`swiftasync <swiftasync>` argument. The operation is introduced by:
61406140

61416141
- ``LiveDebugValues`` pass, which applies it to function parameters that

llvm/docs/LoopTerminology.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ a dominating header.
158158

159159
* The `FixIrreducible <https://llvm.org/doxygen/FixIrreducible_8h.html>`_
160160
pass can transform irreducible control flow into loops by inserting
161-
new loop headers. It is not inlcuded in any default optimization pass
161+
new loop headers. It is not included in any default optimization pass
162162
pipeline, but is required for some back-end targets.
163163

164164

llvm/docs/ProgrammersManual.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3561,8 +3561,8 @@ Important Public Members of the ``Module`` class
35613561
* | ``Module::global_iterator`` - Typedef for global variable list iterator
35623562
| ``Module::const_global_iterator`` - Typedef for const_iterator.
35633563
| ``Module::insertGlobalVariable()`` - Inserts a global variable to the list.
3564-
| ``Module::removeGlobalVariable()`` - Removes a global variable frome the list.
3565-
| ``Module::eraseGlobalVariable()`` - Removes a global variable frome the list and deletes it.
3564+
| ``Module::removeGlobalVariable()`` - Removes a global variable from the list.
3565+
| ``Module::eraseGlobalVariable()`` - Removes a global variable from the list and deletes it.
35663566
| ``global_begin()``, ``global_end()``, ``global_size()``, ``global_empty()``
35673567
35683568
These are forwarding methods that make it easy to access the contents of a

0 commit comments

Comments
 (0)