summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2009-08-18 19:18:40 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2009-08-18 19:18:40 +0000
commitfc13d1c4d3807dbe9b1d6e6bee0dbd9b2112be54 (patch)
treef0755ab339bffd5a73c5c3f12cb8ac50b73ea615 /docs
parent323a3e653340781bad4c4c3245d9b25d5ab02685 (diff)
downloadllvm-fc13d1c4d3807dbe9b1d6e6bee0dbd9b2112be54.tar.gz
llvm-fc13d1c4d3807dbe9b1d6e6bee0dbd9b2112be54.tar.bz2
llvm-fc13d1c4d3807dbe9b1d6e6bee0dbd9b2112be54.tar.xz
Surrounded variable in <tt> tags for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79357 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/GetElementPtr.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/GetElementPtr.html b/docs/GetElementPtr.html
index 0684b2c78a..752568f831 100644
--- a/docs/GetElementPtr.html
+++ b/docs/GetElementPtr.html
@@ -303,13 +303,14 @@ idx3 = (char*) &amp;MyVar + 8
</div>
<p>In this example, <tt>idx1</tt> computes the address of the second integer
- in the array that is in the structure in %MyVar, that is <tt>MyVar+4</tt>. The
- type of <tt>idx1</tt> is <tt>i32*</tt>. However, <tt>idx2</tt> computes the
- address of <i>the next</i> structure after <tt>%MyVar</tt>. The type of
- <tt>idx2</tt> is <tt>{ [10 x i32] }*</tt> and its value is equivalent
- to <tt>MyVar + 40</tt> because it indexes past the ten 4-byte integers
- in <tt>MyVar</tt>. Obviously, in such a situation, the pointers don't
- alias.</p>
+ in the array that is in the structure in <tt>%MyVar</tt>, that is
+ <tt>MyVar+4</tt>. The type of <tt>idx1</tt> is <tt>i32*</tt>. However,
+ <tt>idx2</tt> computes the address of <i>the next</i> structure after
+ <tt>%MyVar</tt>. The type of <tt>idx2</tt> is <tt>{ [10 x i32] }*</tt> and its
+ value is equivalent to <tt>MyVar + 40</tt> because it indexes past the ten
+ 4-byte integers in <tt>MyVar</tt>. Obviously, in such a situation, the
+ pointers don't alias.</p>
+
</div>
<!-- *********************************************************************** -->