]> granicus.if.org Git - clang/commitdiff
Fix example: variable is initialized to 10 and then has 11 stored in it, but in the...
authorDavid Chisnall <csdavec@swan.ac.uk>
Thu, 7 Jul 2011 09:49:59 +0000 (09:49 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Thu, 7 Jul 2011 09:49:59 +0000 (09:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134610 91177308-0d34-0410-b5e6-96231b3b80d8

docs/Block-ABI-Apple.txt

index 4a97aa9bd65e2cea9974e2d8d3611a846813c7c7..8e67f01a4431b6964c376d01bd2c285ae81392c5 100644 (file)
@@ -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;