[NFC] fix trivial typos in comments and documents

"in in" -> "in", "on on" -> "on" etc.

llvm-svn: 323508
diff --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst
index ed2e936..dfc32ca 100644
--- a/llvm/docs/GettingStarted.rst
+++ b/llvm/docs/GettingStarted.rst
@@ -912,7 +912,7 @@
 cross-compiling CMake provides a variable ``CMAKE_TOOLCHAIN_FILE`` which can
 define compiler flags and variables used during the CMake test operations.
 
-The result of such a build is executables that are not runnable on on the build
+The result of such a build is executables that are not runnable on the build
 host but can be executed on the target. As an example the following CMake
 invocation can generate build files targeting iOS. This will work on Mac OS X
 with the latest Xcode:
diff --git a/llvm/docs/MemorySSA.rst b/llvm/docs/MemorySSA.rst
index 0249e70..1669117 100644
--- a/llvm/docs/MemorySSA.rst
+++ b/llvm/docs/MemorySSA.rst
@@ -79,7 +79,7 @@
 operands of a given ``MemoryAccess`` are all (potential) clobbers of said
 MemoryAccess, and the value produced by a ``MemoryAccess`` can act as a clobber
 for other ``MemoryAccess``\ es. Another useful way of looking at it is in
-terms of heap versions.  In that view, operands of of a given
+terms of heap versions.  In that view, operands of a given
 ``MemoryAccess`` are the version of the heap before the operation, and
 if the access produces a value, the value is the new version of the heap
 after the operation.
diff --git a/llvm/docs/doxygen.cfg.in b/llvm/docs/doxygen.cfg.in
index e3c7f47..fc11f68 100644
--- a/llvm/docs/doxygen.cfg.in
+++ b/llvm/docs/doxygen.cfg.in
@@ -285,7 +285,7 @@
 
 # When enabled doxygen tries to link words that correspond to documented
 # classes, or namespaces to their corresponding documentation. Such a link can
-# be prevented in individual cases by by putting a % sign in front of the word
+# be prevented in individual cases by putting a % sign in front of the word
 # or globally by setting AUTOLINK_SUPPORT to NO.
 # The default value is: YES.
 
diff --git a/llvm/docs/tutorial/OCamlLangImpl1.rst b/llvm/docs/tutorial/OCamlLangImpl1.rst
index 9de9230..3fed61d 100644
--- a/llvm/docs/tutorial/OCamlLangImpl1.rst
+++ b/llvm/docs/tutorial/OCamlLangImpl1.rst
@@ -193,7 +193,7 @@
 
 ``Lexer.lex`` works by recursing over a ``char Stream.t`` to read
 characters one at a time from the standard input. It eats them as it
-recognizes them and stores them in in a ``Token.token`` variant. The
+recognizes them and stores them in a ``Token.token`` variant. The
 first thing that it has to do is ignore whitespace between tokens. This
 is accomplished with the recursive call above.