]> granicus.if.org Git - llvm/commitdiff
[NFC] fix trivial typos in documents
authorHiroshi Inoue <inouehrs@jp.ibm.com>
Tue, 25 Jun 2019 07:24:27 +0000 (07:24 +0000)
committerHiroshi Inoue <inouehrs@jp.ibm.com>
Tue, 25 Jun 2019 07:24:27 +0000 (07:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364278 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CommandLine.rst
docs/LangRef.rst

index 34bee934ce9f7bc280ef5290c9002ff5812d000f..7c804d42c35186ac900cda500f3862088db35f3c 100644 (file)
@@ -1294,7 +1294,7 @@ it cannot be guaranteed that all options will have been initialised. Hence it
 should be called from ``main``.
 
 This function can be used to gain access to options declared in libraries that
-the tool writter may not have direct access to.
+the tool writer may not have direct access to.
 
 The function retrieves a :ref:`StringMap <dss_stringmap>` that maps the option
 string (e.g. ``-help``) to an ``Option*``.
index b5bc294919204ca17d26033b28c52876a5d5847c..41316d1dd8cc029e613f07fe842d96d929294f5f 100644 (file)
@@ -421,7 +421,7 @@ added in the future:
 
     This calling convention aims to minimize overhead in the caller by
     preserving as many registers as possible (all the registers that are
-    perserved on the fast path, composed of the entry and exit blocks).
+    preserved on the fast path, composed of the entry and exit blocks).
 
     This calling convention behaves identical to the `C` calling convention on
     how arguments and return values are passed, but it uses a different set of