[cfe-commits] r67608 - in /cfe/trunk/utils: ccc-analyzer scan-build
Daniel Dunbar
daniel at zuster.org
Mon Mar 23 21:39:55 PDT 2009
Oops, forgot about these. It doesn't look like your changes below are going
to work on an installed build. Known?
- Daniel
On Mon, Mar 23, 2009 at 9:29 PM, Ted Kremenek <kremenek at apple.com> wrote:
> Author: kremenek
> Date: Mon Mar 23 23:29:13 2009
> New Revision: 67608
>
> URL: http://llvm.org/viewvc/llvm-project?rev=67608&view=rev
> Log:
> Update scan-build/ccc-analyzer to use 'clang-cc' instead of 'clang'.
>
> Modified:
> cfe/trunk/utils/ccc-analyzer
> cfe/trunk/utils/scan-build
>
> Modified: cfe/trunk/utils/ccc-analyzer
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=67608&r1=67607&r2=67608&view=diff
>
>
> ==============================================================================
> --- cfe/trunk/utils/ccc-analyzer (original)
> +++ cfe/trunk/utils/ccc-analyzer Mon Mar 23 23:29:13 2009
> @@ -332,7 +332,7 @@
>
> # Determine what clang executable to use.
> my $Clang = $ENV{'CLANG'};
> -if (!defined $Clang) { $Clang = 'clang'; }
> +if (!defined $Clang) { $Clang = 'clang-cc'; }
>
> # Get the HTML output directory.
> my $HtmlDir = $ENV{'CCC_ANALYZER_HTML'};
>
> Modified: cfe/trunk/utils/scan-build
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=67608&r1=67607&r2=67608&view=diff
>
>
> ==============================================================================
> --- cfe/trunk/utils/scan-build (original)
> +++ cfe/trunk/utils/scan-build Mon Mar 23 23:29:13 2009
> @@ -81,17 +81,17 @@
> # Some initial preprocessing of Clang options.
>
> ##----------------------------------------------------------------------------##
>
> -my $ClangSB = Cwd::realpath("$RealBin/bin/clang");
> +my $ClangSB = Cwd::realpath("$RealBin/bin/clang-cc");
>
> # Also look for 'clang' in the same directory as scan-build.
> if (!defined $ClangSB || ! -x $ClangSB) {
> - $ClangSB = Cwd::realpath("$RealBin/clang");
> + $ClangSB = Cwd::realpath("$RealBin/clang-cc");
> }
>
> my $Clang = $ClangSB;
>
> if (!defined $ClangSB || ! -x $ClangSB) {
> - $Clang = "clang";
> + $Clang = "clang-cc";
> }
>
> my %AvailableAnalyses;
> @@ -1165,8 +1165,8 @@
> }
>
> if (!defined $ClangSB || ! -x $ClangSB) {
> - Diag("'clang' executable not found in '$RealBin/bin'.\n");
> - Diag("Using 'clang' from path.\n");
> + Diag("'clang-cc' executable not found in '$RealBin/bin'.\n");
> + Diag("Using 'clang-cc' from path.\n");
> }
>
> if (defined $CXX) {
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090323/cdb53086/attachment.html>
More information about the cfe-commits
mailing list