[cfe-commits] r65343 - /cfe/trunk/utils/scan-build
Ted Kremenek
kremenek at apple.com
Mon Feb 23 15:01:07 PST 2009
Author: kremenek
Date: Mon Feb 23 17:01:06 2009
New Revision: 65343
URL: http://llvm.org/viewvc/llvm-project?rev=65343&view=rev
Log:
Find 'clang' in 'bin' subdirectory instead of 'cbin'.
Modified:
cfe/trunk/utils/scan-build
Modified: cfe/trunk/utils/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=65343&r1=65342&r2=65343&view=diff
==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Mon Feb 23 17:01:06 2009
@@ -81,7 +81,7 @@
# Some initial preprocessing of Clang options.
##----------------------------------------------------------------------------##
-my $ClangSB = Cwd::realpath("$RealBin/cbin/clang");
+my $ClangSB = Cwd::realpath("$RealBin/bin/clang");
my $Clang = $ClangSB;
if (!defined $ClangSB || ! -x $ClangSB) {
@@ -1150,8 +1150,8 @@
DieDiag("Executable 'ccc-analyzer' does not exist at '$Cmd'\n")
if (! -x $Cmd);
-if (! -x $ClangSB) {
- Diag("'clang' executable not found in '$RealBin/cbin'.\n");
+if (!defined $ClangSB || ! -x $ClangSB) {
+ Diag("'clang' executable not found in '$RealBin/bin'.\n");
Diag("Using 'clang' from path.\n");
}
More information about the cfe-commits
mailing list