mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
Modernize to range-based loop
llvm-svn: 257037
This commit is contained in:
parent
716757f08e
commit
6b8e21c1bb
@ -328,11 +328,9 @@ int main(int argc, char **argv) {
|
||||
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.append(*i);
|
||||
CommandLine.append(Arg);
|
||||
}
|
||||
|
||||
if (TraceExecution)
|
||||
|
Loading…
Reference in New Issue
Block a user