Fix -Wpessimizing-move warning in llvm-config.cpp
[oota-llvm.git] / tools / llvm-config / llvm-config.cpp
index 44ab715f965d5c26556876db31356172a9a25143..934d710d497835b2cd9c4ff537e2fc02b720d2c7 100644 (file)
@@ -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) {