summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/RegionStore.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-01-07 22:18:50 +0000
committerTed Kremenek <kremenek@apple.com>2009-01-07 22:18:50 +0000
commit682c3a6dd6018b9add5b8e7d12b80d017a02fc63 (patch)
treef8a7315bb003e1aaf77849e4fbbe501724c26553 /clang/lib/Analysis/RegionStore.cpp
parentf32527879972854cbe2f43949428120791d3c697 (diff)
downloadbcm5719-llvm-682c3a6dd6018b9add5b8e7d12b80d017a02fc63.tar.gz
bcm5719-llvm-682c3a6dd6018b9add5b8e7d12b80d017a02fc63.zip
Refactor MemRegionManager instance variable into parent class. No functionality change.
llvm-svn: 61888
Diffstat (limited to 'clang/lib/Analysis/RegionStore.cpp')
-rw-r--r--clang/lib/Analysis/RegionStore.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp
index 4e0215b997e..598107c1ea5 100644
--- a/clang/lib/Analysis/RegionStore.cpp
+++ b/clang/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() {}
OpenPOWER on IntegriCloud