Thanks, good catch.
================
Comment at: tools/scan-build/ccc-analyzer:182-186
@@ -181,3 +181,7 @@
$line =~ s/^\s+|\s+$//g;
my @items = quotewords('\s+', 0, $line);
+ # Wrap arguments that have spaces with quotes.
+ foreach (@items) {
+ $_ = qq/"$_"/ if (/\s+/);
+ }
my $cmd = shift @items;
----------------
I think we can just pass `true` to quotewords' 'keep' parameter.
http://reviews.llvm.org/D9357
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits