Previously, some uses of std::function with blocks would crash when ARC was enabled.
rdar://100907096
Paths
| Differential D135706
[libc++] Fix std::function's handling of blocks under Objc ARC ClosedPublic Authored by ldionne on Oct 11 2022, 12:06 PM.
Details
Summary Previously, some uses of std::function with blocks would crash when ARC was enabled. rdar://100907096
Diff Detail
Event TimelineComment Actions I was waiting to confirm some stuff internally, I think this is the way to go and not a Clang bug. This revision is now accepted and ready to land.Oct 17 2022, 3:35 PM Closed by commit rG0e4802bf4595: [libc++] Fix std::function's handling of blocks under Objc ARC (authored by ldionne). · Explain WhyOct 17 2022, 3:36 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 468351 libcxx/include/__functional/function.h
libcxx/test/libcxx/utilities/function.objects/func.blocks.arc.pass.mm
libcxx/test/libcxx/utilities/function.objects/func.blocks.pass.cpp
|