Skip to content
Commit c81708e6 authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[Sema][ObjC] Warn about implicitly autoreleasing out-parameters captured

by blocks.

Add a new warning "-Wblock-capture-autoreleasing". The warning warns
about implicitly autoreleasing out-parameters captured by blocks which
can introduce use-after-free bugs that are hard to debug.

rdar://problem/15377548

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

llvm-svn: 285031
parent 51c6d93f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment