OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35cecc3
)
Fix -Wpessimizing-move warning.
author
Rui Ueyama
<ruiu@google.com>
Fri, 11 Nov 2016 20:39:02 +0000
(20:39 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Fri, 11 Nov 2016 20:39:02 +0000
(20:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286629
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Object/ModuleSummaryIndexObjectFile.cpp
patch
|
blob
|
history
diff --git
a/lib/Object/ModuleSummaryIndexObjectFile.cpp
b/lib/Object/ModuleSummaryIndexObjectFile.cpp
index
d37530b
..
202783e
100644
(file)
--- a/
lib/Object/ModuleSummaryIndexObjectFile.cpp
+++ b/
lib/Object/ModuleSummaryIndexObjectFile.cpp
@@
-80,7
+80,7
@@
ModuleSummaryIndexObjectFile::create(MemoryBufferRef Object) {
getModuleSummaryIndex(BCOrErr.get());
if (!IOrErr)
- return
std::move(IOrErr.takeError()
);
+ return
IOrErr.takeError(
);
std::unique_ptr<ModuleSummaryIndex> Index = std::move(IOrErr.get());
return llvm::make_unique<ModuleSummaryIndexObjectFile>(Object,