projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix -Wpessimizing-move warning in llvm-config.cpp
[oota-llvm.git]
/
tools
/
llvm-config
/
llvm-config.cpp
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) {