aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-02-19 04:58:30 +0000
committerTed Kremenek <kremenek@apple.com>2009-02-19 04:58:30 +0000
commitd3794b8cc33ef6ae9853b3921d089c6ee278eec1 (patch)
treefefa985c27f31199ef23768bad94d72015a013d4
parent4d4c50dd8b4db191c38782414665fb7608315a36 (diff)
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
-rwxr-xr-xutils/scan-build4
1 files changed, 2 insertions, 2 deletions
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");
}