projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f13ce15
)
Silence -Wpessimizing-move warning
author
scentini
<rosica@google.com>
Fri, 3 Apr 2020 07:23:59 +0000
(09:23 +0200)
committer
scentini
<rosica@google.com>
Fri, 3 Apr 2020 07:24:26 +0000
(09:24 +0200)
llvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
b/llvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
index
362301c
..
09238e3
100644
(file)
--- a/
llvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
+++ b/
llvm/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: