From: Douglas Gregor Date: Tue, 15 May 2012 18:41:55 +0000 (+0000) Subject: Add the output of "clang --version" to scan-build results, from Gerald Combs! X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4882d50923881d1a01af4d5604b5baaa141cdf9;p=clang Add the output of "clang --version" to scan-build results, from Gerald Combs! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156834 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build index 59b0bafaef..bcff697704 100755 --- a/tools/scan-build/scan-build +++ b/tools/scan-build/scan-build @@ -98,6 +98,7 @@ else { $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 @@ function ToggleDisplay(CheckButton, ClassName) { User:${UserName}\@${HostName} Working Directory:${CurrentDir} Command Line:${CmdArgs} +Clang Version:${ClangVersion} Date:${Date} ENDTEXT