[all-commits] [llvm/llvm-project] 0e4802: [libc++] Fix std::function's handling of blocks un...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Oct 17 15:36:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e4802bf45952b1120c52d4d1bf6bfa2800fd102
      https://github.com/llvm/llvm-project/commit/0e4802bf45952b1120c52d4d1bf6bfa2800fd102
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-10-17 (Mon, 17 Oct 2022)

  Changed paths:
    M libcxx/include/__functional/function.h
    A libcxx/test/libcxx/utilities/function.objects/func.blocks.arc.pass.mm
    A libcxx/test/libcxx/utilities/function.objects/func.blocks.pass.cpp
    R libcxx/test/libcxx/utilities/function.objects/func.blocks.sh.cpp

  Log Message:
  -----------
  [libc++] Fix std::function's handling of blocks under Objc ARC

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

rdar://100907096

Differential Revision: https://reviews.llvm.org/D135706




More information about the All-commits mailing list