Skip to content

Commit

Permalink
Silence -Wpessimizing-move warning
Browse files Browse the repository at this point in the history
  • Loading branch information
scentini committed Apr 3, 2020
1 parent f13ce15 commit 0a3845b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Error DWARFDebugMacro::parse(DataExtractor StringExtractor,
if (IsMacro) {
auto Err = M->Header.parseMacroHeader(Data, &Offset);
if (Err)
return std::move(Err);
return Err;
}
}
// A macro list entry consists of:
Expand Down

0 comments on commit 0a3845b

Please sign in to comment.