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 da90738ed9
commit e82c9383a4

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