Oops, forgot about these. It doesn't look like your changes below are going to work on an installed build. Known?<br><br> - Daniel<br><br><div class="gmail_quote">On Mon, Mar 23, 2009 at 9:29 PM, Ted Kremenek <span dir="ltr"><<a href="mailto:kremenek@apple.com">kremenek@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Author: kremenek<br>
Date: Mon Mar 23 23:29:13 2009<br>
New Revision: 67608<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=67608&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=67608&view=rev</a><br>
Log:<br>
Update scan-build/ccc-analyzer to use 'clang-cc' instead of 'clang'.<br>
<br>
Modified:<br>
cfe/trunk/utils/ccc-analyzer<br>
cfe/trunk/utils/scan-build<br>
<br>
Modified: cfe/trunk/utils/ccc-analyzer<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=67608&r1=67607&r2=67608&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=67608&r1=67607&r2=67608&view=diff</a><br>
<br>
==============================================================================<br>
--- cfe/trunk/utils/ccc-analyzer (original)<br>
+++ cfe/trunk/utils/ccc-analyzer Mon Mar 23 23:29:13 2009<br>
@@ -332,7 +332,7 @@<br>
<br>
# Determine what clang executable to use.<br>
my $Clang = $ENV{'CLANG'};<br>
-if (!defined $Clang) { $Clang = 'clang'; }<br>
+if (!defined $Clang) { $Clang = 'clang-cc'; }<br>
<br>
# Get the HTML output directory.<br>
my $HtmlDir = $ENV{'CCC_ANALYZER_HTML'};<br>
<br>
Modified: cfe/trunk/utils/scan-build<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=67608&r1=67607&r2=67608&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=67608&r1=67607&r2=67608&view=diff</a><br>
<br>
==============================================================================<br>
--- cfe/trunk/utils/scan-build (original)<br>
+++ cfe/trunk/utils/scan-build Mon Mar 23 23:29:13 2009<br>
@@ -81,17 +81,17 @@<br>
# Some initial preprocessing of Clang options.<br>
##----------------------------------------------------------------------------##<br>
<br>
-my $ClangSB = Cwd::realpath("$RealBin/bin/clang");<br>
+my $ClangSB = Cwd::realpath("$RealBin/bin/clang-cc");<br>
<br>
# Also look for 'clang' in the same directory as scan-build.<br>
if (!defined $ClangSB || ! -x $ClangSB) {<br>
- $ClangSB = Cwd::realpath("$RealBin/clang");<br>
+ $ClangSB = Cwd::realpath("$RealBin/clang-cc");<br>
}<br>
<br>
my $Clang = $ClangSB;<br>
<br>
if (!defined $ClangSB || ! -x $ClangSB) {<br>
- $Clang = "clang";<br>
+ $Clang = "clang-cc";<br>
}<br>
<br>
my %AvailableAnalyses;<br>
@@ -1165,8 +1165,8 @@<br>
}<br>
<br>
if (!defined $ClangSB || ! -x $ClangSB) {<br>
- Diag("'clang' executable not found in '$RealBin/bin'.\n");<br>
- Diag("Using 'clang' from path.\n");<br>
+ Diag("'clang-cc' executable not found in '$RealBin/bin'.\n");<br>
+ Diag("Using 'clang-cc' from path.\n");<br>
}<br>
<br>
if (defined $CXX) {<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br>