]> granicus.if.org Git - clang/commit
[analyzer] Move the RetainSummaryManager from CFRefCount to RetainReleaseChecker.
authorJordy Rose <jediknil@belkadan.com>
Thu, 25 Aug 2011 00:10:37 +0000 (00:10 +0000)
committerJordy Rose <jediknil@belkadan.com>
Thu, 25 Aug 2011 00:10:37 +0000 (00:10 +0000)
commitb6cfc09d40ed73163373bec3fe240270326ad478
treefdbfee1b0a0dbc9b09122d12c8d3601e1f03d1f5
parent045c84264f7c9d5b166e9a93d8fe62c777d3039c
[analyzer] Move the RetainSummaryManager from CFRefCount to RetainReleaseChecker.

Because Checkers live for an entire translation unit, this persists summary caches across multiple code bodies and avoids repeated initialization (but probably at the cost of memory). This removes the last references from RetainReleaseChecker to CFRefCount.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138529 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/CFRefCount.cpp