diff options
| author | Anna Zaks <ganna@apple.com> | 2013-05-31 23:47:32 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2013-05-31 23:47:32 +0000 |
| commit | e7a5c829540a452f30cd5a1c0609dddcb1af33ce (patch) | |
| tree | bc68579d22d475fd1bd602c1b979e676e3b530c0 /lib/CodeGen/CGExpr.cpp | |
| parent | 923cadadd2662827ce9029f72d399cf22c443ff9 (diff) | |
| download | clang-e7a5c829540a452f30cd5a1c0609dddcb1af33ce.tar.gz clang-e7a5c829540a452f30cd5a1c0609dddcb1af33ce.tar.bz2 clang-e7a5c829540a452f30cd5a1c0609dddcb1af33ce.tar.xz | |
[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
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
