We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 621a5a9 commit 1156127Copy full SHA for 1156127
llvm/tools/bugpoint/FindBugs.cpp
@@ -47,9 +47,8 @@ BugDriver::runManyPasses(const std::vector<std::string> &AllPasses) {
47
// Step 2: Run optimizer passes on the program and check for success.
48
//
49
outs() << "Running selected passes on program to test for crash: ";
50
- for (int i = 0, e = PassesToRun.size(); i != e; i++) {
51
- outs() << "-" << PassesToRun[i] << " ";
52
- }
+ for (const std::string &Pass : PassesToRun)
+ outs() << "-" << Pass << " ";
53
54
std::string Filename;
55
if (runPasses(*Program, PassesToRun, Filename, false)) {
0 commit comments