Skip to content

Commit a82f2b2

Browse files
Fix typos in documentation
1 parent fb250b8 commit a82f2b2

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

clang-tools-extra/docs/pp-trace.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Command Line Options
4444

4545
This option specifies a comma-separated list of globs describing the list of
4646
callbacks that should be traced. Globs are processed in order of appearance.
47-
Positive globs add matched callbacks to the set, netative globs (those with
47+
Positive globs add matched callbacks to the set, negative globs (those with
4848
the '-' prefix) remove callacks from the set.
4949

5050
* FileChanged

clang/docs/LanguageExtensions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -3558,7 +3558,7 @@ The third argument is one of the memory ordering specifiers ``__ATOMIC_RELAXED``
35583558
``__ATOMIC_CONSUME``, ``__ATOMIC_ACQUIRE``, ``__ATOMIC_RELEASE``,
35593559
``__ATOMIC_ACQ_REL``, or ``__ATOMIC_SEQ_CST`` following C++11 memory model semantics.
35603560
3561-
In terms or aquire-release ordering barriers these two operations are always
3561+
In terms of acquire-release ordering barriers these two operations are always
35623562
considered as operations with *load-store* semantics, even when the original value
35633563
is not actually modified after comparison.
35643564

clang/docs/ReleaseNotes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Non-comprehensive list of changes in this release
207207
``memcmp(&lhs, &rhs, sizeof(T)) == 0``.
208208
- Clang now ignores null directives outside of the include guard when deciding
209209
whether a file can be enabled for the multiple-include optimization.
210-
- Clang now support ``__builtin_FUNCSIG()`` which retruns the same information
210+
- Clang now support ``__builtin_FUNCSIG()`` which returns the same information
211211
as the ``__FUNCSIG__`` macro (available only with ``-fms-extensions`` flag).
212212
This fixes (`#58951 <https://github.com/llvm/llvm-project/issues/58951>`_).
213213

compiler-rt/docs/BuildingCompilerRT.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Building Compiler-RT
1010
.. _build instructions:
1111

1212
The instructions on this page are aimed at vendors who ship Compiler-RT as part of an
13-
operating system distribution, a toolchain or similar shipping vehicules. If you
13+
operating system distribution, a toolchain or similar shipping vehicles. If you
1414
are a user merely trying to use Compiler-RT in your program, you most likely want to
1515
refer to your vendor's documentation, or to the general documentation for using
1616
LLVM, Clang, the various santizers, etc.

lld/docs/ELF/start-stop-gc.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If your ``-Wl,--gc-sections`` build fail with a linker error like this:
1010
it is likely your C identifier name sections are not properly annotated to
1111
suffice under ``--gc-sections``.
1212

13-
``__start_meta`` and ``__stop_meta`` are sometimed called encapsulation
13+
``__start_meta`` and ``__stop_meta`` are sometimes called encapsulation
1414
symbols. In October 2015, GNU ld switched behavior and made a ``__start_meta``
1515
reference from a live section retain all ``meta`` input sections. This
1616
conservative behavior works for existing code which does not take GC into fair

llvm/docs/CodingStandards.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ outlined in `PEP-8 <https://peps.python.org/pep-0008/>`_.
117117

118118
For consistency and to limit churn, code should be automatically formatted with the
119119
`black <https://github.com/psf/black>`_ utility. Black allows changing the formatting
120-
rules based on major version. In order to avoid unecessary churn in the formatting rules
120+
rules based on major version. In order to avoid unnecessary churn in the formatting rules
121121
we currently use black version 23.x in LLVM.
122122

123123
Mechanical Source Issues

openmp/docs/design/Runtimes.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ LIBOMPTARGET_DEBUG
725725
""""""""""""""""""
726726

727727
``LIBOMPTARGET_DEBUG`` controls whether or not debugging information will be
728-
displayed. This feature is only availible if ``libomptarget`` was built with
728+
displayed. This feature is only available if ``libomptarget`` was built with
729729
``-DOMPTARGET_DEBUG``. The debugging output provided is intended for use by
730730
``libomptarget`` developers. More user-friendly output is presented when using
731731
``LIBOMPTARGET_INFO``.
@@ -975,7 +975,7 @@ going wrong.
975975
Libomptarget error: Consult https://openmp.llvm.org/design/Runtimes.html for debugging options.
976976
sum.cpp:5:1: Libomptarget error 1: failure of target construct while offloading is mandatory
977977
978-
This shows that there is an illegal memory access occuring inside the OpenMP
978+
This shows that there is an illegal memory access occurring inside the OpenMP
979979
target region once execution has moved to the CUDA device, suggesting a
980980
segmentation fault. This then causes a chain reaction of failures in
981981
``libomptarget``. Another message suggests using the ``LIBOMPTARGET_INFO``
@@ -1061,7 +1061,7 @@ of LLVM did not.
10611061
LIBOMPTARGET_JIT_OPT_LEVEL
10621062
""""""""""""""""""""""""""
10631063

1064-
This environment variable can be used to change the optimization pipeleine used
1064+
This environment variable can be used to change the optimization pipeline used
10651065
to optimize the embedded device code as part of the device JIT. The value is
10661066
corresponds to the ``-O{0,1,2,3}`` command line argument passed to ``clang``.
10671067

@@ -1225,9 +1225,9 @@ LIBOMPTARGET_AMDGPU_MAX_ASYNC_COPY_BYTES
12251225

12261226
This environment variable specifies the maximum size in bytes where the memory
12271227
copies are asynchronous operations in the AMDGPU plugin. Up to this transfer
1228-
size, the memory copies are asychronous operations pushed to the corresponding
1228+
size, the memory copies are asynchronous operations pushed to the corresponding
12291229
stream. For larger transfers, they are synchronous transfers. Memory copies
1230-
involving already locked/pinned host buffers are always asychronous. The default
1230+
involving already locked/pinned host buffers are always asynchronous. The default
12311231
value is ``1*1024*1024`` bytes (1 MB).
12321232

12331233
LIBOMPTARGET_AMDGPU_NUM_INITIAL_HSA_SIGNALS
@@ -1288,7 +1288,7 @@ LIBOMPTARGET_RPC_ADDRESS
12881288
The address and port at which the server is running. This needs to be set for
12891289
the server and the application, the default is ``0.0.0.0:50051``. A single
12901290
OpenMP executable can offload onto multiple remote hosts by setting this to
1291-
comma-seperated values of the addresses.
1291+
comma-separated values of the addresses.
12921292

12931293
LIBOMPTARGET_RPC_ALLOCATOR_MAX
12941294
""""""""""""""""""""""""""""""

0 commit comments

Comments
 (0)