]> granicus.if.org Git - clang/commitdiff
scan-build now searches for the clang binary in the subdirectory 'cbin'.
authorTed Kremenek <kremenek@apple.com>
Thu, 19 Feb 2009 04:58:30 +0000 (04:58 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 19 Feb 2009 04:58:30 +0000 (04:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65014 91177308-0d34-0410-b5e6-96231b3b80d8

utils/scan-build

index 0e377b8d035ec2d3e66e2a7fff8e132e98ec36c4..fc6407e213f4ed75f8d182936d21dd0e032a15b4 100755 (executable)
@@ -81,7 +81,7 @@ sub DieDiag {
 # Some initial preprocessing of Clang options.
 ##----------------------------------------------------------------------------##
 
-my $ClangSB = Cwd::realpath("$RealBin/clang");
+my $ClangSB = Cwd::realpath("$RealBin/cbin/clang");
 my $Clang = $ClangSB;
 
 if (! -x $ClangSB) {
@@ -1150,7 +1150,7 @@ DieDiag("Executable 'ccc-analyzer' does not exist at '$Cmd'\n")
   if (! -x $Cmd);
 
 if (! -x $ClangSB) {
-  Diag("'clang' executable not found in '$RealBin'.\n");
+  Diag("'clang' executable not found in '$RealBin/cbin'.\n");
   Diag("Using 'clang' from path.\n");
 }