[clang] [clang][doc] Block ABI Apple - __weak __block Support : struct typo (PR #77836)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 11 13:28:10 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: None (d4wae89d498)
<details>
<summary>Changes</summary>
Added two missing 's' for struct in the doc about block expressions.
---
Full diff: https://github.com/llvm/llvm-project/pull/77836.diff
1 Files Affected:
- (modified) clang/docs/Block-ABI-Apple.rst (+2-2)
``````````diff
diff --git a/clang/docs/Block-ABI-Apple.rst b/clang/docs/Block-ABI-Apple.rst
index 68f7a3819ca22e..9f8cd6377514b7 100644
--- a/clang/docs/Block-ABI-Apple.rst
+++ b/clang/docs/Block-ABI-Apple.rst
@@ -709,11 +709,11 @@ and within the compound statement:
.. code-block:: c
- truct _block_byref_obj obj = {( .forwarding=&obj, .flags=(1<<25), .size=sizeof(struct _block_byref_obj),
+ struct _block_byref_obj obj = {( .forwarding=&obj, .flags=(1<<25), .size=sizeof(struct _block_byref_obj),
.byref_keep=_block_byref_obj_keep, .byref_dispose=_block_byref_obj_dispose,
.captured_obj = <initialization expression> )};
- truct __block_literal_5 _block_literal = {
+ struct __block_literal_5 _block_literal = {
&_NSConcreteStackBlock,
(1<<25)|(1<<29), <uninitialized>,
__block_invoke_5,
``````````
</details>
https://github.com/llvm/llvm-project/pull/77836
More information about the cfe-commits
mailing list