[cfe-commits] r96086 - /cfe/trunk/lib/CodeGen/CGVtable.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sat Feb 13 01:11:29 PST 2010
Author: d0k
Date: Sat Feb 13 03:11:28 2010
New Revision: 96086
URL: http://llvm.org/viewvc/llvm-project?rev=96086&view=rev
Log:
Use a different name for this iterator. MSVC and clang++ didn't like "I" in the same scope twice.
Modified:
cfe/trunk/lib/CodeGen/CGVtable.cpp
Modified: cfe/trunk/lib/CodeGen/CGVtable.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGVtable.cpp?rev=96086&r1=96085&r2=96086&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGVtable.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGVtable.cpp Sat Feb 13 03:11:28 2010
@@ -502,10 +502,10 @@
Out << " " << MD->getQualifiedNameAsString() << " - ";
Out << Overrider.Method->getQualifiedNameAsString();
- AdjustmentOffsetsMapTy::const_iterator I =
+ AdjustmentOffsetsMapTy::const_iterator AI =
ReturnAdjustments.find(std::make_pair(Base, MD));
- if (I != ReturnAdjustments.end()) {
- const BaseOffset &Offset = I->second;
+ if (AI != ReturnAdjustments.end()) {
+ const BaseOffset &Offset = AI->second;
assert(!Offset.VirtualBase && "FIXME: Handle vbases!");
More information about the cfe-commits
mailing list