[analyzer] scan-build: allow quotes around "-cc1" when looking at -### output.

Third time's the charm. Patch by Brennan Shacklett!

llvm-svn: 204362
This commit is contained in:
Jordan Rose 2014-03-20 17:43:54 +00:00
parent 2006306f53
commit 0d7d09f804

View File

@ -150,7 +150,7 @@ sub GetCCArgs {
close(TO_PARENT);
my $line;
while (<FROM_CHILD>) {
next if (!/\s-cc1\s/);
next if (!/\s"?-cc1"?\s/);
$line = $_;
}