[PATCH] D25844: [Sema][ObjC] Warn about implicitly autoreleasing indirect parameters that are captured by blocks

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 5 13:53:41 PST 2021


rjmccall added a comment.

That's not an unreasonable idea, and we did consider it, and in fact it's still on the table as something we could do.  However, it's a significantly more complex change, and we're not committed to doing it, and so we wanted to at least put this warning in place to help people avoid a relatively common bug.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D25844/new/

https://reviews.llvm.org/D25844



More information about the cfe-commits mailing list