From: Ted Kremenek Date: Fri, 12 Sep 2008 22:49:36 +0000 (+0000) Subject: Include links to stderr output of clang in the table of files that clang rejects. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f9b1fded49acff77e61b3ed1afc8bbaaefe6f34;p=clang Include links to stderr output of clang in the table of files that clang rejects. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56173 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer index 739e24805e..845977eb7c 100755 --- a/utils/ccc-analyzer +++ b/utils/ccc-analyzer @@ -48,7 +48,7 @@ sub ProcessClangFailure { close OUT; `uname -a >> $PPFile.info 2>&1`; `$CC -v >> $PPFile.info 2>&1`; - system 'mv',$ofile,"$PPFile.output"; + system 'mv',$ofile,"$PPFile.stderr.txt"; } ##----------------------------------------------------------------------------## diff --git a/utils/scan-build b/utils/scan-build index f8d2d8f42b..bef022ba3d 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -587,7 +587,7 @@ ENDTEXT

The analyzer had problems processing the following files:

- + ENDTEXT foreach my $file (sort @files) { @@ -604,8 +604,8 @@ ENDTEXT close (INFO); # Print the information in the table. my $prefix = GetPrefix(); - if (defined $prefix) { $srcfile =~ s/^$prefix//; } - print OUT "\n"; + if (defined $prefix) { $srcfile =~ s/^\Q$prefix//; } + print OUT "\n"; } print OUT <
ProblemSource FilePreprocessed File
ProblemSource FilePreprocessed FileSTDERR Output
$problem$srcfileView
$problem$srcfile$ppfile$ppfile.stderr.txt