Home | History | Annotate | Download | only in scan-build

Lines Matching refs:Arg

205     foreach my $arg (@$AnalyzeArgs) {
206 push @Args, "-Xclang", $arg;
225 foreach my $arg (@CmdArgs) {
226 push @PrintArgs,"\'$arg\'";
473 my $Arg = $ARGV[$i];
474 my ($ArgKey) = split /=/,$Arg,2;
477 if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; }
478 elsif ($Arg eq '-c') { $Action = 'compile'; }
479 elsif ($Arg =~ /^-print-prog-name/) { exit 0; }
482 if ($Arg eq "-arch") {
495 push @CompileOpts,$Arg;
500 if ($Arg =~ /^-iquote.*/) {
501 push @CompileOpts,$Arg;
508 push @LinkOpts,$Arg;
520 if ($UniqueOptions{$Arg}) {
521 if (defined $Uniqued{$Arg}) {
525 $Uniqued{$Arg} = 1;
528 push @CompileOpts,$Arg;
529 push @LinkOpts,$Arg;
549 if ($Arg =~ /^-[D,I,U](.*)$/) {
550 my $Tmp = $Arg;
554 $Tmp = $Arg . $ARGV[$i];
560 if ($Arg =~ /^-m.*/) {
561 push @CompileOpts,$Arg;
566 if ($Arg eq '-x') {
572 if ($Arg eq '-o') {
579 if ($Arg =~ /^-[l,L,O]/) {
580 if ($Arg eq '-O') { push @LinkOpts,'-O1'; }
581 elsif ($Arg eq '-Os') { push @LinkOpts,'-O2'; }
582 else { push @LinkOpts,$Arg; }
585 if ($Arg =~ /^-O/) { push @CompileOpts,$Arg; }
589 if ($Arg =~ /^-std=/) {
590 push @CompileOpts,$Arg;
595 if ($Arg =~ /^-F(.+)$/) {
596 my $Tmp = $Arg;
600 $Tmp = $Arg . $ARGV[$i];
608 if ($Arg eq '-filelist') {
617 if ($Arg =~ /^-f/) {
618 push @CompileOpts,$Arg;
619 push @LinkOpts,$Arg;
625 if ($Arg =~ /^-Wno-/) {
626 push @CompileOpts, $Arg;
630 if (!($Arg =~ /^-/)) {
631 push @Files, $Arg;