From: Ted Kremenek Date: Thu, 19 Feb 2009 04:58:30 +0000 (+0000) Subject: scan-build now searches for the clang binary in the subdirectory 'cbin'. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3794b8cc33ef6ae9853b3921d089c6ee278eec1;p=clang scan-build now searches for the clang binary in the subdirectory 'cbin'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65014 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/scan-build b/utils/scan-build index 0e377b8d03..fc6407e213 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -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"); }