projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c531d38
)
Fix small typo in Block ABI docs
author
Dave MacLachlan
<dmaclach@google.com>
Tue, 19 Oct 2021 04:01:40 +0000
(09:31 +0530)
committer
Shivam Gupta
<shivam98.tkg@gmail.com>
Tue, 19 Oct 2021 04:03:35 +0000
(09:33 +0530)
I think the C++ code example had the wrong name for the block copy function.
Reviewed By: rjmccall
Differential Revision: https://reviews.llvm.org/D91815
clang/docs/Block-ABI-Apple.rst
patch
|
blob
|
history
diff --git
a/clang/docs/Block-ABI-Apple.rst
b/clang/docs/Block-ABI-Apple.rst
index
4f98b3b
..
9983f26
100644
(file)
--- a/
clang/docs/Block-ABI-Apple.rst
+++ b/
clang/docs/Block-ABI-Apple.rst
@@
-765,7
+765,7
@@
The compiler would synthesize:
printf("%d\n", _block->foo.value());
}
- void __block_
literal
_10(struct __block_literal_10 *dst, struct __block_literal_10 *src) {
+ void __block_
copy
_10(struct __block_literal_10 *dst, struct __block_literal_10 *src) {
FOO_ctor(&dst->foo, &src->foo);
}