summaryrefslogtreecommitdiffstats
path: root/llvm/docs/ProgrammersManual.rst
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2016-02-14 20:16:22 +0000
committerSylvestre Ledru <sylvestre@debian.org>2016-02-14 20:16:22 +0000
commit84666a19649df885b40e2fb1da1c11674fcd9620 (patch)
treeb54c386af044fe1b1376c75c3eeb4d2bfc2eb753 /llvm/docs/ProgrammersManual.rst
parent5e27ec33ea81c159c2724aaeeba1826878167ad6 (diff)
downloadbcm5719-llvm-84666a19649df885b40e2fb1da1c11674fcd9620.tar.gz
bcm5719-llvm-84666a19649df885b40e2fb1da1c11674fcd9620.zip
Fix some typos in the llvm doc
llvm-svn: 260855
Diffstat (limited to 'llvm/docs/ProgrammersManual.rst')
-rw-r--r--llvm/docs/ProgrammersManual.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst
index 665e30aeb67..fa2b37a8793 100644
--- a/llvm/docs/ProgrammersManual.rst
+++ b/llvm/docs/ProgrammersManual.rst
@@ -420,7 +420,7 @@ system in place to ensure that names do not conflict. If two different modules
use the same string, they will all be turned on when the name is specified.
This allows, for example, all debug information for instruction scheduling to be
enabled with ``-debug-only=InstrSched``, even if the source lives in multiple
-files. The name must not include a comma (,) as that is used to seperate the
+files. The name must not include a comma (,) as that is used to separate the
arguments of the ``-debug-only`` option.
For performance reasons, -debug-only is not available in optimized build
@@ -1135,7 +1135,7 @@ llvm/ADT/StringSet.h
``StringSet`` is a thin wrapper around :ref:`StringMap\<char\> <dss_stringmap>`,
and it allows efficient storage and retrieval of unique strings.
-Functionally analogous to ``SmallSet<StringRef>``, ``StringSet`` also suports
+Functionally analogous to ``SmallSet<StringRef>``, ``StringSet`` also supports
iteration. (The iterator dereferences to a ``StringMapEntry<char>``, so you
need to call ``i->getKey()`` to access the item of the StringSet.) On the
other hand, ``StringSet`` doesn't support range-insertion and
OpenPOWER on IntegriCloud