[PATCH] D41050: Fix over-release of return value of lambda implicitly converted to block

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 12 11:19:38 PST 2017

rjmccall added a comment.

Alternative #1 is actually the right option — only it shouldn't be an objc_retain, it should be an objc_retainAutoreleasedReturnValue.

  rC Clang


More information about the cfe-commits mailing list