forked from OSchip/llvm-project
Replace for_each with a range-based for. NFC.
llvm-svn: 313578
This commit is contained in:
parent
f31b1a00ea
commit
b8f084289e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue