[cfe-commits] r91177 - /cfe/trunk/tools/scan-build/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Fri Dec 11 15:12:52 PST 2009
Author: kremenek
Date: Fri Dec 11 17:12:52 2009
New Revision: 91177
URL: http://llvm.org/viewvc/llvm-project?rev=91177&view=rev
Log:
Remove more old references to clang-cc.
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=91177&r1=91176&r2=91177&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer (original)
+++ cfe/trunk/tools/scan-build/ccc-analyzer Fri Dec 11 17:12:52 2009
@@ -106,14 +106,14 @@
close(TO_PARENT);
my $line;
while (<FROM_CHILD>) {
- next if (!/clang-cc/);
+ next if (!/-cc1/);
$line = $_;
}
waitpid($pid,0);
close(FROM_CHILD);
- die "could not find clang-cc line\n" if (!defined $line);
+ die "could not find clang line\n" if (!defined $line);
# Strip the newline and initial whitspace
chomp $line;
$line =~ s/^\s+//;
@@ -124,7 +124,7 @@
$items[$i] =~ s/\"$//;
}
my $cmd = shift @items;
- die "cannot find 'clang-cc' in 'clang' command\n" if (!($cmd =~ /clang-cc/));
+ die "cannot find 'clang' in 'clang' command\n" if (!($cmd =~ /clang/));
return \@items;
}
More information about the cfe-commits
mailing list