commit | e28565b994431adba60a86b32ae8663c386879e2 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon May 05 18:50:19 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon May 05 18:50:19 2008 +0000 |
tree | 3e2e88fa41893fd31d59278ac18aab170e16b3b2 | |
parent | ce48e00a35604257cbc9760f08f482b57ce3c28c [diff] |
Improve leak diagnostics to not report a leak on the same line where the object was last used. This can be confusing to users. For example: // 'y' is leaked x = foo(y); instead: x = foo(y); // 'y' is leaked git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50661 91177308-0d34-0410-b5e6-96231b3b80d8