@@ -221,25 +221,25 @@ bool gcc_cmdlinet::parse(int argc, const char **argv)
221
221
assert (argc>0 );
222
222
add_arg (argv[0 ]);
223
223
224
- argst args ;
225
- args .reserve (argc- 1 );
224
+ argst current_args ;
225
+ current_args .reserve (argc - 1 );
226
226
227
227
for (int i=1 ; i<argc; i++)
228
- args .push_back (argv[i]);
228
+ current_args .push_back (argv[i]);
229
229
230
- bool result= parse_arguments (args , false );
230
+ bool result = parse_arguments (current_args , false );
231
231
232
232
parse_specs ();
233
233
234
234
return result;
235
235
}
236
236
237
237
bool gcc_cmdlinet::parse_arguments (
238
- const argst &args ,
238
+ const argst &args_to_parse ,
239
239
bool in_spec_file)
240
240
{
241
- for (argst::const_iterator it=args .begin ();
242
- it!=args .end ();
241
+ for (argst::const_iterator it = args_to_parse .begin ();
242
+ it != args_to_parse .end ();
243
243
++it)
244
244
{
245
245
const std::string &argv_i=*it;
@@ -292,7 +292,7 @@ bool gcc_cmdlinet::parse_arguments(
292
292
if (argv_i==*o) // separated
293
293
{
294
294
found=true ;
295
- if (next!=args .end ())
295
+ if (next != args_to_parse .end ())
296
296
{
297
297
set (argv_i, *next);
298
298
++it;
@@ -364,7 +364,7 @@ bool gcc_cmdlinet::parse_arguments(
364
364
if (argv_i==*o) // separated
365
365
{
366
366
found=true ;
367
- if (next!=args .end ())
367
+ if (next != args_to_parse .end ())
368
368
{
369
369
set (argv_i, *next);
370
370
if (!in_spec_file)
@@ -390,7 +390,7 @@ bool gcc_cmdlinet::parse_arguments(
390
390
if (argv_i==*o) // separated
391
391
{
392
392
found=true ;
393
- if (next!=args .end ())
393
+ if (next != args_to_parse .end ())
394
394
{
395
395
set (argv_i, *next);
396
396
if (!in_spec_file)
@@ -438,17 +438,17 @@ void gcc_cmdlinet::parse_specs_line(const std::string &line, bool in_spec_file)
438
438
assert (!line.empty ());
439
439
assert (line[0 ]!=' ' && line[0 ]!=' \t ' );
440
440
441
- argst args ;
441
+ argst args_from_specs ;
442
442
443
443
for (std::string::size_type arg_start=0 , arg_end=0 ;
444
444
arg_end!=std::string::npos;
445
445
arg_start=line.find_first_not_of (" \t " , arg_end))
446
446
{
447
447
arg_end=line.find_first_of (" \t " , arg_start);
448
- args .push_back (line.substr (arg_start, arg_end- arg_start));
448
+ args_from_specs .push_back (line.substr (arg_start, arg_end - arg_start));
449
449
}
450
450
451
- parse_arguments (args , in_spec_file);
451
+ parse_arguments (args_from_specs , in_spec_file);
452
452
}
453
453
454
454
// / Parse GCC spec files https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html
0 commit comments