commit | e36d81b1eeab13fb1bbd15291d009a1699de6ec1 | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Thu Jan 31 22:06:02 2013 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Thu Jan 31 22:06:02 2013 +0000 |
tree | 05b9782b758f3f54d6b06c3383dd8626b73fcd06 | |
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