llvm.org GIT mirror llvm / 8b10213
Modernize to range-based loop git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257037 91177308-0d34-0410-b5e6-96231b3b80d8 Michael Liao 4 years ago
1 changed file(s) with 2 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
327327 if (TraceExecution)
328328 errs() << ToolName << ": Found Program: " << ProgramToRun << '\n';
329329
330 for (std::vector::iterator i = Argv.begin(),
331 e = Argv.end();
332 i != e; ++i) {
330 for (const std::string &Arg : Argv) {
333331 CommandLine.push_back(' ');
334 CommandLine.append(*i);
332 CommandLine.append(Arg);
335333 }
336334
337335 if (TraceExecution)