summaryrefslogtreecommitdiffstats
path: root/llvm/docs/ProgrammersManual.rst
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-03-23 05:18:50 +0000
committerVedant Kumar <vsk@apple.com>2016-03-23 05:18:50 +0000
commita34bdfaae7186d6f4be3b6ef904afe4d633c42cc (patch)
treead98e369b3fceaa769941e31b0b9b6b1c52b9ad7 /llvm/docs/ProgrammersManual.rst
parentc0a77c5064c8437c472200c2f2f42a4717fecf6b (diff)
downloadbcm5719-llvm-a34bdfaae7186d6f4be3b6ef904afe4d633c42cc.tar.gz
bcm5719-llvm-a34bdfaae7186d6f4be3b6ef904afe4d633c42cc.zip
[docs] Fix typo in ProgrammersManual.rst
Patch by Miod Vallat! llvm-svn: 264138
Diffstat (limited to 'llvm/docs/ProgrammersManual.rst')
-rw-r--r--llvm/docs/ProgrammersManual.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst
index 5ad5113bb4b..668a0a2aabe 100644
--- a/llvm/docs/ProgrammersManual.rst
+++ b/llvm/docs/ProgrammersManual.rst
@@ -1876,7 +1876,7 @@ pointer from an iterator is very straight-forward. Assuming that ``i`` is a
However, the iterators you'll be working with in the LLVM framework are special:
they will automatically convert to a ptr-to-instance type whenever they need to.
-Instead of derferencing the iterator and then taking the address of the result,
+Instead of dereferencing the iterator and then taking the address of the result,
you can simply assign the iterator to the proper pointer type and you get the
dereference and address-of operation as a result of the assignment (behind the
scenes, this is a result of overloading casting mechanisms). Thus the second
OpenPOWER on IntegriCloud