Fix -Wpessimizing-move warning in llvm-config.cpp

llvm-svn: 252542
This commit is contained in:
Reid Kleckner
2015-11-09 23:37:26 +00:00
parent 420f0542cc
commit dd02e8b535

View 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) {