]> granicus.if.org Git - clang/commitdiff
Minor cleanup: move typedef out of anonymous namespace (which now contains nothing...
authorTed Kremenek <kremenek@apple.com>
Sat, 17 Oct 2009 17:45:11 +0000 (17:45 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 17 Oct 2009 17:45:11 +0000 (17:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84335 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/RegionStore.cpp

index 0cbc6b2c956f8ca362859b2f18cdee68c3b57752..400934d50eb60fd9dca9b94f62a4550988a4bbcb 100644 (file)
@@ -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);