From: Ted Kremenek Date: Sat, 17 Oct 2009 17:45:11 +0000 (+0000) Subject: Minor cleanup: move typedef out of anonymous namespace (which now contains nothing... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=781115c95b111acdbb394d48316a66d288318f4e;p=clang 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 --- 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 RBDNode; -} void RegionStoreManager::RemoveDeadBindings(GRState &state, Stmt* Loc, SymbolReaper& SymReaper, llvm::SmallVectorImpl& RegionRoots) { + typedef std::pair RBDNode; + Store store = state.getStore(); RegionBindings B = GetRegionBindings(store);