[Docs] Fix typo in GetElementPtr.rst (#127393)
I couldn't find the verb "indices", and it was actually a bit confusing for me reading this. I think this should be "indexes" instead.
This commit is contained in:
parent
c5cb3f50d2
commit
fcc8802133
@ -41,7 +41,7 @@ same. For example, when we write, in "C":
|
||||
|
||||
it is natural to think that there is only one index, the selection of the field
|
||||
``F``. However, in this example, ``Foo`` is a pointer. That pointer
|
||||
must be indexed explicitly in LLVM. C, on the other hand, indices through it
|
||||
must be indexed explicitly in LLVM. C, on the other hand, indexes through it
|
||||
transparently. To arrive at the same address location as the C code, you would
|
||||
provide the GEP instruction with two index operands. The first operand indexes
|
||||
through the pointer; the second operand indexes the field ``F`` of the
|
||||
|
Loading…
x
Reference in New Issue
Block a user