diff options
author | Jordan Rose <jordan_rose@apple.com> | 2013-01-31 22:06:02 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2013-01-31 22:06:02 +0000 |
commit | e36d81b1eeab13fb1bbd15291d009a1699de6ec1 (patch) | |
tree | 05b9782b758f3f54d6b06c3383dd8626b73fcd06 /lib/Format/Format.cpp | |
parent | 0ed439487491e09faffdbabfacb1d050292c7723 (diff) |
[analyzer] Don't track autorelease pools created by +new.
This matches our behavior for autorelease pools created by +alloc. Some
people like to create autorelease pools in one method and release them
somewhere else.
If you want safe autorelease pool semantics, use the new ARC-compatible
syntax: @autoreleasepool { ... }
<rdar://problem/13121353>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions