aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/RegionStore.cpp
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2009-11-10 01:17:45 +0000
committerJeffrey Yasskin <jyasskin@google.com>2009-11-10 01:17:45 +0000
commit3958b502404b4bd67f26fee398cb347abe89e6a8 (patch)
tree9a9f9e9aea185ffa1d02fe3a609aa0cd40207d0c /lib/Analysis/RegionStore.cpp
parent89f8c1d40e22f498263dc4b00ed996e1817159b3 (diff)
Fix clang's use of DenseMap iterators after r86636 fixed their constness.
Patch by Victor Zverovich! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r--lib/Analysis/RegionStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp
index 45c42281ab..8106260f18 100644
--- a/lib/Analysis/RegionStore.cpp
+++ b/lib/Analysis/RegionStore.cpp
@@ -164,7 +164,7 @@ public:
~RegionStoreSubRegionMap() {}
bool iterSubRegions(const MemRegion* Parent, Visitor& V) const {
- Map::iterator I = M.find(Parent);
+ Map::const_iterator I = M.find(Parent);
if (I == M.end())
return true;