diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-06-28 07:47:50 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-06-28 07:47:50 +0000 |
commit | 87dc7a4c8d21bd638465881f3b6d091f22d9767c (patch) | |
tree | 37ee4431545648886b7aa96f650c8cf6fcb0621f /utils | |
parent | c502ed657a74fbbc910c07922ed4ed7e531002a2 (diff) | |
download | external_llvm-87dc7a4c8d21bd638465881f3b6d091f22d9767c.zip external_llvm-87dc7a4c8d21bd638465881f3b6d091f22d9767c.tar.gz external_llvm-87dc7a4c8d21bd638465881f3b6d091f22d9767c.tar.bz2 |
Fix Windows build after r159281: s/iterator/const_iterator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/DFAPacketizerEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/DFAPacketizerEmitter.cpp b/utils/TableGen/DFAPacketizerEmitter.cpp index d97297f..8bfecea 100644 --- a/utils/TableGen/DFAPacketizerEmitter.cpp +++ b/utils/TableGen/DFAPacketizerEmitter.cpp @@ -262,7 +262,7 @@ void State::AddInsnClass(unsigned InsnClass, // be added to the packet represented by this state. // bool State::canAddInsnClass(unsigned InsnClass) const { - for (std::set<unsigned>::iterator SI = stateInfo.begin(); + for (std::set<unsigned>::const_iterator SI = stateInfo.begin(); SI != stateInfo.end(); ++SI) { if (~*SI & InsnClass) return true; |