summaryrefslogtreecommitdiff
path: root/tools/llvm-xray/xray-account.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-xray/xray-account.cc')
-rw-r--r--tools/llvm-xray/xray-account.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/llvm-xray/xray-account.cc b/tools/llvm-xray/xray-account.cc
index 7c2b88cb790..747b4d18000 100644
--- a/tools/llvm-xray/xray-account.cc
+++ b/tools/llvm-xray/xray-account.cc
@@ -428,11 +428,11 @@ static CommandRegistration Unused(&Account, []() -> Error {
xray::InstrumentationMapExtractor Extractor(AccountInstrMap, InstrMapFormat,
Err);
if (auto E = handleErrors(
- std::move(Err), [&](std::unique_ptr<StringError> E) -> Error {
- if (E->convertToErrorCode() == std::errc::no_such_file_or_directory)
- return Error::success();
- return Error(std::move(E));
- }))
+ std::move(Err), [&](std::unique_ptr<StringError> SE) -> Error {
+ if (SE->convertToErrorCode() == std::errc::no_such_file_or_directory)
+ return Error::success();
+ return Error(std::move(SE));
+ }))
return E;
raw_fd_ostream OS(AccountOutput, EC, sys::fs::OpenFlags::F_Text);