Skip to content

Commit

Permalink
[clang] Fix typos in documentation (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazutakahirata committed Aug 21, 2021
1 parent 41af8f0 commit 612048a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions clang/docs/AddressSanitizer.rst
Expand Up @@ -282,11 +282,11 @@ Code generation control
Instrumentation code outlining
------------------------------

By default AddressSanitizer inlines the instumentation code to improve the
By default AddressSanitizer inlines the instrumentation code to improve the
run-time performance, which leads to increased binary size. Using the
(clang flag ``-fsanitize-address-outline-instrumentation` default: ``false``)
flag forces all code instumentation to be outlined, which reduces the size
of the generated code, but also reduces the run-time performace.
flag forces all code instrumentation to be outlined, which reduces the size
of the generated code, but also reduces the run-time performance.

Limitations
===========
Expand Down
4 changes: 2 additions & 2 deletions clang/docs/ClangCommandLineReference.rst
Expand Up @@ -1705,7 +1705,7 @@ Enable support for int128\_t type

.. option:: -ffp-contract=<arg>

Form fused FP ops (e.g. FMAs): fast (fuses across statements disregarding pragmas) \| on (only fuses in the same statement unless dictated by pragmas) \| off (never fuses) \| fast-honor-pragmas (fuses across statements unless diectated by pragmas). Default is 'fast' for CUDA, 'fast-honor-pragmas' for HIP, and 'on' otherwise.
Form fused FP ops (e.g. FMAs): fast (fuses across statements disregarding pragmas) \| on (only fuses in the same statement unless dictated by pragmas) \| off (never fuses) \| fast-honor-pragmas (fuses across statements unless dictated by pragmas). Default is 'fast' for CUDA, 'fast-honor-pragmas' for HIP, and 'on' otherwise.

.. option:: -ffp-exception-behavior=<arg>

Expand Down Expand Up @@ -2543,7 +2543,7 @@ Give global types 'default' visibility and global functions and variables 'hidde

.. option:: -fvisibility-nodllstorageclass=<arg>

The visibility for defintiions without an explicit DLL export class \[-fvisibility-from-dllstorageclass\]
The visibility for definitions without an explicit DLL export class \[-fvisibility-from-dllstorageclass\]

.. option:: -fvisibility=<arg>

Expand Down
2 changes: 1 addition & 1 deletion clang/docs/ClangFormatStyleOptions.rst
Expand Up @@ -3541,7 +3541,7 @@ the configuration (without a prefix: ``Auto``).
ForEach and If macros. This is useful in projects where ForEach/If
macros are treated as function calls instead of control statements.
``SBPO_ControlStatementsExceptForEachMacros`` remains an alias for
backward compatability.
backward compatibility.

.. code-block:: c++

Expand Down
2 changes: 1 addition & 1 deletion clang/docs/DataFlowSanitizerDesign.rst
Expand Up @@ -139,7 +139,7 @@ Origin tracking trace representation
------------------------------------

An origin tracking trace is a list of chains. Each chain has a stack trace
where the DFSan runtime records a label propapation, and a pointer to its
where the DFSan runtime records a label propagation, and a pointer to its
previous chain. The very first chain does not point to any chain.

Every four 4-bytes aligned application bytes share a 4-byte origin trace ID. A
Expand Down
2 changes: 1 addition & 1 deletion clang/docs/IntroductionToTheClangAST.rst
Expand Up @@ -32,7 +32,7 @@ clang ParenExpr).
Examining the AST
=================

A good way to familarize yourself with the Clang AST is to actually look
A good way to familiarize yourself with the Clang AST is to actually look
at it on some simple example code. Clang has a builtin AST-dump mode,
which can be enabled with the flag ``-ast-dump``.

Expand Down
4 changes: 2 additions & 2 deletions clang/docs/OpenMPSupport.rst
Expand Up @@ -133,9 +133,9 @@ implementation.
+------------------------------+--------------------------------------------------------------+--------------------------+-----------------------------------------------------------------------+
| loop extension | inclusive scan extension (matching C++17 PSTL) | :good:`done` | |
+------------------------------+--------------------------------------------------------------+--------------------------+-----------------------------------------------------------------------+
| memory mangagement | memory allocators | :good:`done` | r341687,r357929 |
| memory management | memory allocators | :good:`done` | r341687,r357929 |
+------------------------------+--------------------------------------------------------------+--------------------------+-----------------------------------------------------------------------+
| memory mangagement | allocate directive and allocate clause | :good:`done` | r355614,r335952 |
| memory management | allocate directive and allocate clause | :good:`done` | r355614,r335952 |
+------------------------------+--------------------------------------------------------------+--------------------------+-----------------------------------------------------------------------+
| OMPD | OMPD interfaces | :part:`not upstream` | https://github.com/OpenMPToolsInterface/LLVM-openmp/tree/ompd-tests |
+------------------------------+--------------------------------------------------------------+--------------------------+-----------------------------------------------------------------------+
Expand Down

0 comments on commit 612048a

Please sign in to comment.