Use a different name for this iterator. MSVC and clang++ didn't like "I" in the same scope twice.

llvm-svn: 96086
This commit is contained in:
Benjamin Kramer 2010-02-13 09:11:28 +00:00
parent dfe198b588
commit 02c673781d
1 changed files with 3 additions and 3 deletions

View File

@ -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!");