[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:
Omar Hossam 2025-02-27 10:21:56 +01:00 committed by GitHub
parent c5cb3f50d2
commit fcc8802133
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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