commit | e7a5c829540a452f30cd5a1c0609dddcb1af33ce | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Fri May 31 23:47:32 2013 +0000 |
committer | Anna Zaks <ganna@apple.com> | Fri May 31 23:47:32 2013 +0000 |
tree | bc68579d22d475fd1bd602c1b979e676e3b530c0 | |
parent | 923cadadd2662827ce9029f72d399cf22c443ff9 [diff] |
[analyzer] Malloc checker should only escape the receiver when “[O init..]” is called. Jordan has pointed out that it is valuable to warn in cases when the arguments to init escape. For example, NSData initWithBytes id not going to free the memory. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183062 91177308-0d34-0410-b5e6-96231b3b80d8