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);
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue