diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2009-11-10 01:17:45 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2009-11-10 01:17:45 +0000 |
commit | 3958b502404b4bd67f26fee398cb347abe89e6a8 (patch) | |
tree | 9a9f9e9aea185ffa1d02fe3a609aa0cd40207d0c /lib/Analysis/LiveVariables.cpp | |
parent | 89f8c1d40e22f498263dc4b00ed996e1817159b3 (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/LiveVariables.cpp')
-rw-r--r-- | lib/Analysis/LiveVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/LiveVariables.cpp b/lib/Analysis/LiveVariables.cpp index 070481fa14..2510445a7f 100644 --- a/lib/Analysis/LiveVariables.cpp +++ b/lib/Analysis/LiveVariables.cpp @@ -346,7 +346,7 @@ void LiveVariables::dumpLiveness(const ValTy& V, const SourceManager& SM) const } void LiveVariables::dumpBlockLiveness(const SourceManager& M) const { - for (BlockDataMapTy::iterator I = getBlockDataMap().begin(), + for (BlockDataMapTy::const_iterator I = getBlockDataMap().begin(), E = getBlockDataMap().end(); I!=E; ++I) { llvm::errs() << "\n[ B" << I->first->getBlockID() << " (live variables at block exit) ]\n"; |