scan-build now searches for the clang binary in the subdirectory 'cbin'.

llvm-svn: 65014
This commit is contained in:
Ted Kremenek 2009-02-19 04:58:30 +00:00
parent ef56fbaa39
commit 52932d725a
1 changed files with 2 additions and 2 deletions

View File

@ -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");
}