summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-12-11 23:12:52 +0000
committerTed Kremenek <kremenek@apple.com>2009-12-11 23:12:52 +0000
commitf92b446dd4cfcb802407b39208e4e05977bd63b8 (patch)
tree836eb48521337c940e4fcf5d60e0e1b392004397
parent520d1e6c6be80b2da632e7be45b4d8d2b25415e4 (diff)
downloadbcm5719-llvm-f92b446dd4cfcb802407b39208e4e05977bd63b8.tar.gz
bcm5719-llvm-f92b446dd4cfcb802407b39208e4e05977bd63b8.zip
Remove more old references to clang-cc.
llvm-svn: 91177
-rwxr-xr-xclang/tools/scan-build/ccc-analyzer6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/tools/scan-build/ccc-analyzer b/clang/tools/scan-build/ccc-analyzer
index 48dfaace415..9fca4326f3c 100755
--- a/clang/tools/scan-build/ccc-analyzer
+++ b/clang/tools/scan-build/ccc-analyzer
@@ -106,14 +106,14 @@ sub GetCCArgs {
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 @@ sub GetCCArgs {
$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;
}
OpenPOWER on IntegriCloud