From 02c673781d450b994602469334c31afaa822685f Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 13 Feb 2010 09:11:28 +0000 Subject: [PATCH] Use a different name for this iterator. MSVC and clang++ didn't like "I" in the same scope twice. llvm-svn: 96086 --- clang/lib/CodeGen/CGVtable.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/lib/CodeGen/CGVtable.cpp b/clang/lib/CodeGen/CGVtable.cpp index bef324133632..715fb184280d 100644 --- a/clang/lib/CodeGen/CGVtable.cpp +++ b/clang/lib/CodeGen/CGVtable.cpp @@ -502,10 +502,10 @@ void FinalOverriders::dump(llvm::raw_ostream &Out, BaseSubobject Base) const { 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!");