Author: kremenek
Date: Wed Feb 18 22:58:30 2009
New Revision: 65014
URL: http://llvm.org/viewvc/llvm-project?rev=65014&view=rev
Log:
scan-build now searches for the clang binary in the subdirectory '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=65014&r1=65013&r2=65014&view=diff
==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Wed Feb 18 22:58:30 2009
@@ -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");
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits