Refactor MemRegionManager instance variable into parent class. No functionality change.
llvm-svn: 61888
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp
index 4e0215b..598107c 100644
--- a/clang/lib/Analysis/RegionStore.cpp
+++ b/clang/lib/Analysis/RegionStore.cpp
@@ -54,6 +54,7 @@
//
// MemRegions represent chunks of memory with a size (their "extent"). This
// GDM entry tracks the extents for regions. Extents are in bytes.
+//
namespace { class VISIBILITY_HIDDEN RegionExtents {}; }
static int RegionExtentsIndex = 0;
namespace clang {
@@ -108,14 +109,13 @@
RegionViews::Factory RVFactory;
GRStateManager& StateMgr;
- MemRegionManager MRMgr;
public:
RegionStoreManager(GRStateManager& mgr)
- : RBFactory(mgr.getAllocator()),
+ : StoreManager(mgr.getAllocator()),
+ RBFactory(mgr.getAllocator()),
RVFactory(mgr.getAllocator()),
- StateMgr(mgr),
- MRMgr(StateMgr.getAllocator()) {}
+ StateMgr(mgr) {}
virtual ~RegionStoreManager() {}