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 0e377b8..fc6407e 100755
--- a/utils/scan-build
+++ b/utils/scan-build
@@ -81,7 +81,7 @@
# 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 @@
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");
}