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); return handleFile(Object, verifyObjectFile);
})) }))
exit(1); exit(1);
} else { } else
std::for_each(Objects.begin(), Objects.end(), [](std::string Object) { for (auto Object : Objects)
handleFile(Object, dumpObjectFile); handleFile(Object, dumpObjectFile);
});
}
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }