[llvm] r252542 - Fix -Wpessimizing-move warning in llvm-config.cpp
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 9 15:37:26 PST 2015
Author: rnk
Date: Mon Nov 9 17:37:26 2015
New Revision: 252542
URL: http://llvm.org/viewvc/llvm-project?rev=252542&view=rev
Log:
Fix -Wpessimizing-move warning in llvm-config.cpp
Modified:
llvm/trunk/tools/llvm-config/llvm-config.cpp
Modified: llvm/trunk/tools/llvm-config/llvm-config.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-config/llvm-config.cpp?rev=252542&r1=252541&r2=252542&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-config/llvm-config.cpp (original)
+++ llvm/trunk/tools/llvm-config/llvm-config.cpp Mon Nov 9 17:37:26 2015
@@ -218,7 +218,7 @@ std::vector<StringRef> GetAllDyLibCompon
/*IncludeNonInstalled=*/IsInDevelopmentTree,
GetComponentNames, nullptr, nullptr);
- return std::move(Components);
+ return Components;
}
int main(int argc, char **argv) {
More information about the llvm-commits
mailing list