summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/CodingStandards.rst2
-rw-r--r--docs/CommandLine.rst2
-rw-r--r--docs/LangRef.rst2
-rw-r--r--docs/SourceLevelDebugging.rst2
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: