Author: Akira Hatanaka Date: 2019-12-11T23:18:32-08:00 New Revision: 7292c2823063fdb9e2200ef7e4571d4f2443e6ca
URL: https://github.com/llvm/llvm-project/commit/7292c2823063fdb9e2200ef7e4571d4f2443e6ca DIFF: https://github.com/llvm/llvm-project/commit/7292c2823063fdb9e2200ef7e4571d4f2443e6ca.diff LOG: Fix an error in the block ABI documentation sample code rdar://problem/38663011 Added: Modified: clang/docs/Block-ABI-Apple.rst Removed: ################################################################################ diff --git a/clang/docs/Block-ABI-Apple.rst b/clang/docs/Block-ABI-Apple.rst index e48a24b43ce5..0cc14a35b033 100644 --- a/clang/docs/Block-ABI-Apple.rst +++ b/clang/docs/Block-ABI-Apple.rst @@ -152,7 +152,7 @@ would cause the following to be created on a 32-bit system: static struct __block_descriptor_1 { unsigned long int reserved; unsigned long int Block_size; - } __block_descriptor_1 = { 0, sizeof(struct __block_literal_1), __block_invoke_1 }; + } __block_descriptor_1 = { 0, sizeof(struct __block_literal_1) }; and where the ``Block`` literal itself appears: _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits