r204362 - [analyzer] scan-build: allow quotes around "-cc1" when looking at -### output.
Jordan Rose
jordan_rose at apple.com
Thu Mar 20 10:43:54 PDT 2014
Author: jrose
Date: Thu Mar 20 12:43:54 2014
New Revision: 204362
URL: http://llvm.org/viewvc/llvm-project?rev=204362&view=rev
Log:
[analyzer] scan-build: allow quotes around "-cc1" when looking at -### output.
Third time's the charm. Patch by Brennan Shacklett!
Modified:
cfe/trunk/tools/scan-build/ccc-analyzer
Modified: cfe/trunk/tools/scan-build/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/ccc-analyzer?rev=204362&r1=204361&r2=204362&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer (original)
+++ cfe/trunk/tools/scan-build/ccc-analyzer Thu Mar 20 12:43:54 2014
@@ -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 = $_;
}
More information about the cfe-commits
mailing list