Fix MSVC shadow variable warning. NFC.

This commit is contained in:
Simon Pilgrim 2021-12-17 17:31:39 +00:00
parent 35c7b1aeae
commit 3b5572a18b
1 changed files with 2 additions and 2 deletions

View File

@ -557,12 +557,12 @@ unsigned DWARFVerifier::verifyDebugInfoAttribute(const DWARFDie &Die,
if (Error || !Expression.verify(U))
ReportError("DIE contains invalid DWARF expression:");
}
} else if (Error E = handleErrors(
} else if (Error Err = handleErrors(
Loc.takeError(), [&](std::unique_ptr<ResolverError> E) {
return U->isDWOUnit() ? Error::success()
: Error(std::move(E));
}))
ReportError(toString(std::move(E)));
ReportError(toString(std::move(Err)));
break;
}
case DW_AT_specification: