summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/RegionStore.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-02-05 05:18:47 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-02-05 05:18:47 +0000
commitf668204a6aec3b5a563dd074a88fdf3496a9e314 (patch)
tree84145304aa2078c12017c61f146ba2e41b32c834 /clang/lib/Checker/RegionStore.cpp
parent6ec89d49532938c651e44f607d7e45105147a8dd (diff)
downloadbcm5719-llvm-f668204a6aec3b5a563dd074a88fdf3496a9e314.tar.gz
bcm5719-llvm-f668204a6aec3b5a563dd074a88fdf3496a9e314.zip
More GRState* -> Store changes.
llvm-svn: 95362
Diffstat (limited to 'clang/lib/Checker/RegionStore.cpp')
-rw-r--r--clang/lib/Checker/RegionStore.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/clang/lib/Checker/RegionStore.cpp b/clang/lib/Checker/RegionStore.cpp
index c59ecf8eb20..420f6650b80 100644
--- a/clang/lib/Checker/RegionStore.cpp
+++ b/clang/lib/Checker/RegionStore.cpp
@@ -215,7 +215,9 @@ public:
delete (*I).second;
}
- SubRegionMap *getSubRegionMap(const GRState *state);
+ SubRegionMap *getSubRegionMap(Store store) {
+ return getRegionStoreSubRegionMap(store);
+ }
RegionStoreSubRegionMap *getRegionStoreSubRegionMap(Store store);
@@ -474,15 +476,10 @@ RegionStoreManager::getRegionStoreSubRegionMap(Store store) {
return M;
}
-SubRegionMap *RegionStoreManager::getSubRegionMap(const GRState *state) {
- return getRegionStoreSubRegionMap(state->getStore());
-}
-
//===----------------------------------------------------------------------===//
// Binding invalidation.
//===----------------------------------------------------------------------===//
-
void RegionStoreManager::RemoveSubRegionBindings(RegionBindings &B,
const MemRegion *R,
RegionStoreSubRegionMap &M) {
OpenPOWER on IntegriCloud