diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-10-17 17:45:11 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-10-17 17:45:11 +0000 |
commit | 781115c95b111acdbb394d48316a66d288318f4e (patch) | |
tree | 81cb685b7b05bd594779d0da155e423e6033d06f /lib/Analysis/RegionStore.cpp | |
parent | 813a97b3eee957eac3ac1fb111b8892fb9afd0d4 (diff) |
Minor cleanup: move typedef out of anonymous namespace (which now contains nothing) and into RemoveDeadBindings. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 0cbc6b2c95..400934d50e 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -1602,15 +1602,13 @@ RegionStoreManager::CopyLazyBindings(nonloc::LazyCompoundVal V, //===----------------------------------------------------------------------===// // State pruning. //===----------------------------------------------------------------------===// - -namespace { -typedef std::pair<const GRState*, const MemRegion *> RBDNode; -} void RegionStoreManager::RemoveDeadBindings(GRState &state, Stmt* Loc, SymbolReaper& SymReaper, llvm::SmallVectorImpl<const MemRegion*>& RegionRoots) { + typedef std::pair<const GRState*, const MemRegion *> RBDNode; + Store store = state.getStore(); RegionBindings B = GetRegionBindings(store); |