[cfe-commits] r156834 - /cfe/trunk/tools/scan-build/scan-build
Douglas Gregor
dgregor at apple.com
Tue May 15 11:41:55 PDT 2012
Author: dgregor
Date: Tue May 15 13:41:55 2012
New Revision: 156834
URL: http://llvm.org/viewvc/llvm-project?rev=156834&view=rev
Log:
Add the output of "clang --version" to scan-build results, from Gerald Combs!
Modified:
cfe/trunk/tools/scan-build/scan-build
Modified: cfe/trunk/tools/scan-build/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/scan-build?rev=156834&r1=156833&r2=156834&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/scan-build (original)
+++ cfe/trunk/tools/scan-build/scan-build Tue May 15 13:41:55 2012
@@ -98,6 +98,7 @@
$Clang = $ClangSB;
}
my $ClangCXX = $Clang . "++";
+my $ClangVersion = HtmlEscape(`$Clang --version`);
##----------------------------------------------------------------------------##
# GetHTMLRunDir - Construct an HTML directory name for the current sub-run.
@@ -590,6 +591,7 @@
<tr><th>User:</th><td>${UserName}\@${HostName}</td></tr>
<tr><th>Working Directory:</th><td>${CurrentDir}</td></tr>
<tr><th>Command Line:</th><td>${CmdArgs}</td></tr>
+<tr><th>Clang Version:</th><td>${ClangVersion}</td></tr>
<tr><th>Date:</th><td>${Date}</td></tr>
ENDTEXT
More information about the cfe-commits
mailing list