aboutsummaryrefslogtreecommitdiff
path: root/docs/Block-ABI-Apple.txt
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2011-07-07 09:49:59 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2011-07-07 09:49:59 +0000
commitcfe1f051915bc159cda244c8d08ea6fcca605de4 (patch)
tree7bf441a2c257f79fd11214ee9f2e3cd3b2c43cc0 /docs/Block-ABI-Apple.txt
parent7e5e5f4cc36fe50f46ad76dca7a266434c94f475 (diff)
Fix example: variable is initialized to 10 and then has 11 stored in it, but in the expanded version is initialized to 11.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Block-ABI-Apple.txt')
-rw-r--r--docs/Block-ABI-Apple.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Block-ABI-Apple.txt b/docs/Block-ABI-Apple.txt
index 4a97aa9bd6..8e67f01a44 100644
--- a/docs/Block-ABI-Apple.txt
+++ b/docs/Block-ABI-Apple.txt
@@ -317,7 +317,7 @@ would be rewritten to be:
int flags; //refcount;
int size;
int captured_i;
- } i = { NULL, &i, 0, sizeof(struct _block_byref_i), 11 };
+ } i = { NULL, &i, 0, sizeof(struct _block_byref_i), 10 };
i.forwarding->captured_i = 11;