forked from OSchip/llvm-project
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:
parent
dfe198b588
commit
02c673781d
|
@ -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!");
|
||||
|
||||
|
|
Loading…
Reference in New Issue