diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-01-07 22:18:50 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-01-07 22:18:50 +0000 |
commit | d6cfbe4bd5103cd020d987d09438744eb17226a3 (patch) | |
tree | e3df87dcc845d34a53f62ed73dcaee927465f115 /lib/Analysis/RegionStore.cpp | |
parent | bc468ba19c0bad9bf4a40ff39d8fad7e471bfbf5 (diff) |
Refactor MemRegionManager instance variable into parent class. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 4e0215b997..598107c1ea 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -54,6 +54,7 @@ namespace clang { // // 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 @@ class VISIBILITY_HIDDEN RegionStoreManager : public StoreManager { 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() {} |