Replace for_each with a range-based for. NFC.

llvm-svn: 313578
This commit is contained in:
Adrian Prantl 2017-09-18 22:11:33 +00:00
parent f31b1a00ea
commit b8f084289e
1 changed files with 2 additions and 4 deletions

View File

@ -352,11 +352,9 @@ int main(int argc, char **argv) {
return handleFile(Object, verifyObjectFile);
}))
exit(1);
} else {
std::for_each(Objects.begin(), Objects.end(), [](std::string Object) {
} else
for (auto Object : Objects)
handleFile(Object, dumpObjectFile);
});
}
return EXIT_SUCCESS;
}