[cfe-commits] r49187 - /cfe/trunk/utils/scan-build

Ted Kremenek kremenek at apple.com
Thu Apr 3 13:08:19 PDT 2008


Author: kremenek
Date: Thu Apr  3 15:08:18 2008
New Revision: 49187

URL: http://llvm.org/viewvc/llvm-project?rev=49187&view=rev
Log:
Use full path to ccc-analyzer.

Modified:
    cfe/trunk/utils/scan-build

Modified: cfe/trunk/utils/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=49187&r1=49186&r2=49187&view=diff

==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Thu Apr  3 15:08:18 2008
@@ -427,7 +427,9 @@
 
 SetHtmlEnv(\@ARGV, $HtmlDir);
 
-$ENV{'CC'} = "ccc-analyzer";
+my $Cmd = `which ccc-analyzer`;
+chop $Cmd;
+$ENV{'CC'} = $Cmd;
 
 if ($Verbose >= 2) {
   $ENV{'CCC_ANALYZER_VERBOSE'} = 1;





More information about the cfe-commits mailing list