]> granicus.if.org Git - clang/commit
[analyzer] Stop tracking the objects with attribute cleanup in the RetainCountChecker.
authorAnna Zaks <ganna@apple.com>
Tue, 17 Sep 2013 00:53:28 +0000 (00:53 +0000)
committerAnna Zaks <ganna@apple.com>
Tue, 17 Sep 2013 00:53:28 +0000 (00:53 +0000)
commit73fa2525b4d8b9768dbc1e5a09976d6f9e568e23
tree9bf28ddf7f92ae3da58b9da65dd58e794174e705
parenta2b4754bb241bb21b94832916ee07cbf7351b958
[analyzer] Stop tracking the objects with attribute cleanup in the RetainCountChecker.

This suppresses false positive leaks. We stop tracking a value if it is assigned to a variable declared with a cleanup attribute.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190835 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
test/Analysis/retain-release.m