aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/RegionStore.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-12-07 03:28:20 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-12-07 03:28:20 +0000
commit75191fdbc3d3eec5f3447b285acf6cfcc2054b25 (patch)
treeb9c21418a93b6a11f722a7d887039c2236779074 /lib/StaticAnalyzer/Core/RegionStore.cpp
parent6492c799b0135006ed7bea37a190bb03aedb3b9c (diff)
Unbreak the GCC (4.4 & other bot) builds from r169571.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169581 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/RegionStore.cpp')
-rw-r--r--lib/StaticAnalyzer/Core/RegionStore.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/Core/RegionStore.cpp b/lib/StaticAnalyzer/Core/RegionStore.cpp
index bbb5fa2ed4..bf8dcf018d 100644
--- a/lib/StaticAnalyzer/Core/RegionStore.cpp
+++ b/lib/StaticAnalyzer/Core/RegionStore.cpp
@@ -147,10 +147,12 @@ public:
RegionBindingsRef(ClusterBindings::Factory &CBFactory,
const RegionBindings::TreeTy *T,
RegionBindings::TreeTy::Factory *F)
- : ImmutableMapRef(T, F), CBFactory(CBFactory) {}
+ : llvm::ImmutableMapRef<const MemRegion *, ClusterBindings>(T, F),
+ CBFactory(CBFactory) {}
RegionBindingsRef(const ParentTy &P, ClusterBindings::Factory &CBFactory)
- : ImmutableMapRef(P), CBFactory(CBFactory) {}
+ : llvm::ImmutableMapRef<const MemRegion *, ClusterBindings>(P),
+ CBFactory(CBFactory) {}
RegionBindingsRef add(key_type_ref K, data_type_ref D) {
return RegionBindingsRef(static_cast<ParentTy*>(this)->add(K, D),