summaryrefslogtreecommitdiffstats
path: root/llvm
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
commita446f1b46bc50b2421a8f6e7df63f4e96b133b3e (patch)
treebd323f1ab1a3d3d747f1b82b25ebf238cded7c65 /llvm
parent2d8b9a8834cd27d00b0fd402a26d7b579a514a74 (diff)
downloadbcm5719-llvm-a446f1b46bc50b2421a8f6e7df63f4e96b133b3e.tar.gz
bcm5719-llvm-a446f1b46bc50b2421a8f6e7df63f4e96b133b3e.zip
more fixes to C code.
llvm-svn: 37339
Diffstat (limited to 'llvm')
-rw-r--r--llvm/docs/LangRef.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index cf5ee06cf4f..e9b3c5601f1 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/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>
OpenPOWER on IntegriCloud