git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257037
91177308-0d34-0410-b5e6-
96231b3b80d8
if (TraceExecution)
errs() << ToolName << ": Found Program: " << ProgramToRun << '\n';
if (TraceExecution)
errs() << ToolName << ": Found Program: " << ProgramToRun << '\n';
- for (std::vector<std::string>::iterator i = Argv.begin(),
- e = Argv.end();
- i != e; ++i) {
+ for (const std::string &Arg : Argv) {
CommandLine.push_back(' ');
CommandLine.push_back(' ');
- CommandLine.append(*i);
+ CommandLine.append(Arg);