summaryrefslogtreecommitdiffstats
path: root/tools/scan-build/ccc-analyzer
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scan-build/ccc-analyzer')
-rwxr-xr-xtools/scan-build/ccc-analyzer7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer
index daf5f7f..391ea57 100755
--- a/tools/scan-build/ccc-analyzer
+++ b/tools/scan-build/ccc-analyzer
@@ -139,12 +139,7 @@ sub GetCCArgs {
# Strip the newline and initial whitspace
chomp $line;
$line =~ s/^\s+//;
-
- my @items = quotewords('\s+', 1, $line);
- for (my $i = 0 ; $ i < scalar(@items); ++$i) {
- $items[$i] =~ s/^\"//;
- $items[$i] =~ s/\"$//;
- }
+ my @items = quotewords('\s+', 0, $line);
my $cmd = shift @items;
die "cannot find 'clang' in 'clang' command\n" if (!($cmd =~ /clang/));
return \@items;
OpenPOWER on IntegriCloud