From fc13d1c4d3807dbe9b1d6e6bee0dbd9b2112be54 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Tue, 18 Aug 2009 19:18:40 +0000 Subject: [PATCH] Surrounded variable in tags for consistency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79357 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/GetElementPtr.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/GetElementPtr.html b/docs/GetElementPtr.html index 0684b2c78ae0..752568f831ef 100644 --- a/docs/GetElementPtr.html +++ b/docs/GetElementPtr.html @@ -303,13 +303,14 @@

In this example, idx1 computes the address of the second integer - in the array that is in the structure in %MyVar, that is MyVar+4. The - type of idx1 is i32*. However, idx2 computes the - address of the next structure after %MyVar. The type of - idx2 is { [10 x i32] }* and its value is equivalent - to MyVar + 40 because it indexes past the ten 4-byte integers - in MyVar. Obviously, in such a situation, the pointers don't - alias.

+ in the array that is in the structure in %MyVar, that is + MyVar+4. The type of idx1 is i32*. However, + idx2 computes the address of the next structure after + %MyVar. The type of idx2 is { [10 x i32] }* and its + value is equivalent to MyVar + 40 because it indexes past the ten + 4-byte integers in MyVar. Obviously, in such a situation, the + pointers don't alias.

+