aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-05-29 15:43:56 +0000
committerChris Lattner <sabre@nondot.org>2007-05-29 15:43:56 +0000
commitcabc8469f23e0d2e616e61ecf00d90bcb74d7633 (patch)
tree74d41667278365febe4d1b3f4507fd250a8cb86b
parentaac388b36389e801c4d3a13ec3e26e45d399e48d (diff)
more fixes to C code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37339 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/LangRef.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index cf5ee06cf4..e9b3c5601f 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -2792,16 +2792,16 @@ compiled to LLVM:</p>
<pre>
struct RT {
char A;
- i32 B[10][20];
+ int B[10][20];
char C;
};
struct ST {
- i32 X;
+ int X;
double Y;
struct RT Z;
};
-i32 *foo(struct ST *s) {
+int *foo(struct ST *s) {
return &amp;s[1].Z.B[5][13];
}
</pre>