diff options
author | Vedant Kumar <vsk@apple.com> | 2016-03-23 05:18:50 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-03-23 05:18:50 +0000 |
commit | 4b4e6ab6beafce00effca75c25958bda2b07b3b5 (patch) | |
tree | d0749a3874ddc43631f9253434628f2945a57f11 /docs/ProgrammersManual.rst | |
parent | 7c2672b778948b5b96bcfe0921ce62c4aa765bec (diff) |
[docs] Fix typo in ProgrammersManual.rst
Patch by Miod Vallat!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ProgrammersManual.rst')
-rw-r--r-- | docs/ProgrammersManual.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ProgrammersManual.rst b/docs/ProgrammersManual.rst index 5ad5113bb4b1..668a0a2aabe7 100644 --- a/docs/ProgrammersManual.rst +++ b/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 |