llvm.org GIT mirror llvm / 4b7ed4f
[llvm-mca] Rename an error variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349662 91177308-0d34-0410-b5e6-96231b3b80d8 Matt Davis 8 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
338338 Expected RegionsOrErr = CRG.parseCodeRegions();
339339 if (!RegionsOrErr) {
340340 if (auto Err =
341 handleErrors(RegionsOrErr.takeError(), [](const StringError &Err) {
342 WithColor::error() << Err.getMessage() << '\n';
341 handleErrors(RegionsOrErr.takeError(), [](const StringError &E) {
342 WithColor::error() << E.getMessage() << '\n';
343343 })) {
344344 // Default case.
345345 WithColor::error() << toString(std::move(Err)) << '\n';