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

Ted Kremenek kremenek at apple.com
Mon Mar 23 22:30:16 PDT 2009


Author: kremenek
Date: Tue Mar 24 00:30:14 2009
New Revision: 67609

URL: http://llvm.org/viewvc/llvm-project?rev=67609&view=rev
Log:
More path updates with clang-cc...

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=67609&r1=67608&r2=67609&view=diff

==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Tue Mar 24 00:30:14 2009
@@ -81,9 +81,9 @@
 # Some initial preprocessing of Clang options.
 ##----------------------------------------------------------------------------##
 
-my $ClangSB = Cwd::realpath("$RealBin/bin/clang-cc");
+my $ClangSB = Cwd::realpath("$RealBin/libexec/clang-cc");
 
-# Also look for 'clang' in the same directory as scan-build.
+# Also look for 'clang-cc' in the same directory as scan-build.
 if (!defined $ClangSB || ! -x $ClangSB) {
   $ClangSB = Cwd::realpath("$RealBin/clang-cc");
 }
@@ -1158,14 +1158,14 @@
 # Set the appropriate environment variables.
 SetHtmlEnv(\@ARGV, $HtmlDir);
 
-my $Cmd = Cwd::realpath("$RealBin/bin/ccc-analyzer");
+my $Cmd = Cwd::realpath("$RealBin/libexec/ccc-analyzer");
 if (!defined $Cmd || ! -x $Cmd) {
   $Cmd = Cwd::realpath("$RealBin/ccc-analyzer");
   DieDiag("Executable 'ccc-analyzer' does not exist at '$Cmd'\n") if(! -x $Cmd);
 }
 
 if (!defined $ClangSB || ! -x $ClangSB) {
-  Diag("'clang-cc' executable not found in '$RealBin/bin'.\n");
+  Diag("'clang-cc' executable not found in '$RealBin/libexec'.\n");
   Diag("Using 'clang-cc' from path.\n");
 }
 





More information about the cfe-commits mailing list