commit | 3eabf1c0e695fd772ffee4ba469bc46292404ea1 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu May 22 17:31:13 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu May 22 17:31:13 2008 +0000 |
tree | 5141a2e435926845109fdf69da3139bec4937514 | |
parent | c07ba352b7604435e80269be23ace72a52bd04f1 [diff] |
Expand retain/release checker to consider methods/function calls that cause a tracked object to "escape": it's reference count might be incremented by the called function, thus causing an object's lifetime to extend beyond when the local reference count is decremented to 0. This addresses: <rdar://problem/5933215> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51433 91177308-0d34-0410-b5e6-96231b3b80d8