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
(from parent 1:
ba2a27d
)
Fix -Wpessimizing-move warning in llvm-config.cpp
author
Reid Kleckner
<rnk@google.com>
Mon, 9 Nov 2015 23:37:26 +0000
(23:37 +0000)
committer
Reid Kleckner
<rnk@google.com>
Mon, 9 Nov 2015 23:37:26 +0000
(23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252542
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-config/llvm-config.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-config/llvm-config.cpp
b/tools/llvm-config/llvm-config.cpp
index
44ab715
..
934d710
100644
(file)
--- a/
tools/llvm-config/llvm-config.cpp
+++ b/
tools/llvm-config/llvm-config.cpp
@@
-218,7
+218,7
@@
std::vector<StringRef> GetAllDyLibComponents(const bool IsInDevelopmentTree,
/*IncludeNonInstalled=*/IsInDevelopmentTree,
GetComponentNames, nullptr, nullptr);
- return
std::move(Components)
;
+ return
Components
;
}
int main(int argc, char **argv) {