From 70bf2d824bc7ab22d18204e453cbff8e3b607821 Mon Sep 17 00:00:00 2001 From: scentini Date: Fri, 3 Apr 2020 09:23:59 +0200 Subject: [PATCH] Silence -Wpessimizing-move warning --- lib/DebugInfo/DWARF/DWARFDebugMacro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp b/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp index 362301c9561..09238e31617 100644 --- a/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp +++ b/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp @@ -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: