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:
Dave MacLachlan 2021-10-19 09:31:40 +05:30 committed by Shivam Gupta
parent c531d3805d
commit a94bc9d81b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}