Skip to content

Commit 0a3845b

Browse files
committed
Silence -Wpessimizing-move warning
1 parent f13ce15 commit 0a3845b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Error DWARFDebugMacro::parse(DataExtractor StringExtractor,
9393
if (IsMacro) {
9494
auto Err = M->Header.parseMacroHeader(Data, &Offset);
9595
if (Err)
96-
return std::move(Err);
96+
return Err;
9797
}
9898
}
9999
// A macro list entry consists of:

0 commit comments

Comments
 (0)