forked from OSchip/llvm-project
Fix small typo in Block ABI docs
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
This commit is contained in:
parent
c531d3805d
commit
a94bc9d81b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue