Skip to content
Commit 627c3074 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

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

llvm-svn: 50661
parent b42c28c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment