diff options
author | Alp Toker <alp@nuanti.com> | 2013-12-05 05:44:44 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-12-05 05:44:44 +0000 |
commit | 087ab613f42890b2e84fb8a058f346ead2bfd595 (patch) | |
tree | 7039d347e786828a5be8897497a4c3f26845b311 /docs | |
parent | 9155b1781508a5f0d3b0c5103dfe966222fe3dc3 (diff) | |
download | llvm-087ab613f42890b2e84fb8a058f346ead2bfd595.tar.gz llvm-087ab613f42890b2e84fb8a058f346ead2bfd595.tar.bz2 llvm-087ab613f42890b2e84fb8a058f346ead2bfd595.tar.xz |
Correct word hyphenations
This patch tries to avoid unrelated changes other than fixing a few
hyphen-related ambiguities and contractions in nearby lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CodingStandards.rst | 2 | ||||
-rw-r--r-- | docs/CommandLine.rst | 2 | ||||
-rw-r--r-- | docs/LangRef.rst | 2 | ||||
-rw-r--r-- | docs/SourceLevelDebugging.rst | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/docs/CodingStandards.rst b/docs/CodingStandards.rst index 9418680edc..b454e49664 100644 --- a/docs/CodingStandards.rst +++ b/docs/CodingStandards.rst @@ -844,7 +844,7 @@ Here are more examples: .. code-block:: c++ - assert(Ty->isPointerType() && "Can't allocate a non pointer type!"); + assert(Ty->isPointerType() && "Can't allocate a non-pointer type!"); assert((Opcode == Shl || Opcode == Shr) && "ShiftInst Opcode invalid!"); diff --git a/docs/CommandLine.rst b/docs/CommandLine.rst index 4c84d23297..1b342e34bf 100644 --- a/docs/CommandLine.rst +++ b/docs/CommandLine.rst @@ -1276,7 +1276,7 @@ The ``cl::getRegisteredOptions`` function ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The ``cl::getRegisteredOptions`` function is designed to give a programmer -access to declared non positional command line options so that how they appear +access to declared non-positional command line options so that how they appear in ``-help`` can be modified prior to calling `cl::ParseCommandLineOptions`_. Note this method should not be called during any static initialisation because it cannot be guaranteed that all options will have been initialised. Hence it diff --git a/docs/LangRef.rst b/docs/LangRef.rst index 77d37df4e7..f7f83dba69 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -612,7 +612,7 @@ Syntax:: The linkage must be one of ``private``, ``linker_private``, ``linker_private_weak``, ``internal``, ``linkonce``, ``weak``, ``linkonce_odr``, ``weak_odr``, ``external``. Note that some system linkers -might not correctly handle dropping a weak symbol that is aliased by a non weak +might not correctly handle dropping a weak symbol that is aliased by a non-weak alias. .. _namedmetadatastructure: diff --git a/docs/SourceLevelDebugging.rst b/docs/SourceLevelDebugging.rst index a1d8110637..a6349fba86 100644 --- a/docs/SourceLevelDebugging.rst +++ b/docs/SourceLevelDebugging.rst @@ -2306,7 +2306,7 @@ stringWithCString:]``") and the basename is the selector only Mach-O Changes """""""""""""" -The sections names for the apple hash tables are for non mach-o files. For +The sections names for the apple hash tables are for non-mach-o files. For mach-o files, the sections should be contained in the ``__DWARF`` segment with names as follows: |