forked from OSchip/llvm-project
Fix MSVC shadow variable warning. NFC.
This commit is contained in:
parent
35c7b1aeae
commit
3b5572a18b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue