]> granicus.if.org Git - clang/commit
[analyzer] Simplify RetainCountChecker's handling of dead symbols.
authorJordan Rose <jordan_rose@apple.com>
Thu, 6 Dec 2012 18:58:18 +0000 (18:58 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 6 Dec 2012 18:58:18 +0000 (18:58 +0000)
commit4ee1c557c3ebddb8a9be8f6fb66605b971793820
tree48c197751b7de2cd274494eccc89ad7e5a96ae70
parent4ecca28e20410f5e2816c5ddff5cdeaf45fb74b5
[analyzer] Simplify RetainCountChecker's handling of dead symbols.

Previously we made three passes over the set of dead symbols, and removed
them from the state /twice/. Now we combine the autorelease pass and the
symbol death pass, and only have to remove the bindings for the symbols
that leaked.

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