From: Ted Kremenek Date: Fri, 11 Dec 2009 23:12:52 +0000 (+0000) Subject: Remove more old references to clang-cc. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32317b214f58001b2fd4aa9ec140b85c80db33a5;p=clang Remove more old references to clang-cc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91177 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer index 48dfaace41..9fca4326f3 100755 --- a/tools/scan-build/ccc-analyzer +++ b/tools/scan-build/ccc-analyzer @@ -106,14 +106,14 @@ sub GetCCArgs { close(TO_PARENT); my $line; while () { - 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; }