This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

ldionne created this revision.Oct 11 2022, 12:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 11 2022, 12:06 PM
ldionne requested review of this revision.Oct 11 2022, 12:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 11 2022, 12:06 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision as: Restricted Project.Oct 17 2022, 3:30 PM
ldionne added a reviewer: ahatanak.

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