diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-05-05 18:50:19 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-05-05 18:50:19 +0000 |
commit | e28565b994431adba60a86b32ae8663c386879e2 (patch) | |
tree | 3e2e88fa41893fd31d59278ac18aab170e16b3b2 /lib/Lex/PPExpressions.cpp | |
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
Diffstat (limited to 'lib/Lex/PPExpressions.cpp')
0 files changed, 0 insertions, 0 deletions