[libcxx-commits] [PATCH] D135706: [libc++] Fix std::function's handling of blocks under Objc ARC

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 11 12:06:47 PDT 2022


ldionne created this revision.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Previously, some uses of std::function with blocks would crash when ARC was enabled.

rdar://100907096


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135706

Files:
  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
  libcxx/test/libcxx/utilities/function.objects/func.blocks.sh.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135706.466880.patch
Type: text/x-patch
Size: 4095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221011/db375415/attachment.bin>


More information about the libcxx-commits mailing list