Fix ccc-analyzer's handling of quoted arguments in the build command.  Fixes PR 6791.[B

llvm-svn: 100551
diff --git a/clang/tools/scan-build/ccc-analyzer b/clang/tools/scan-build/ccc-analyzer
index daf5f7f..391ea57 100755
--- a/clang/tools/scan-build/ccc-analyzer
+++ b/clang/tools/scan-build/ccc-analyzer
@@ -139,12 +139,7 @@
   # 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;