projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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 44ab715f965d5c26556876db31356172a9a25143..934d710d497835b2cd9c4ff537e2fc02b720d2c7 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) {