[cfe-commits] r160871 - /cfe/trunk/tools/scan-build/scan-build
Arnaud A. de Grandmaison
arnaud.adegm at gmail.com
Fri Jul 27 10:10:06 PDT 2012
Author: aadg
Date: Fri Jul 27 12:10:06 2012
New Revision: 160871
URL: http://llvm.org/viewvc/llvm-project?rev=160871&view=rev
Log:
[scan-build] Fix clang++ pathname
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=160871&r1=160870&r2=160871&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/scan-build (original)
+++ cfe/trunk/tools/scan-build/scan-build Fri Jul 27 12:10:06 2012
@@ -113,7 +113,9 @@
else {
$Clang = $ClangSB;
}
-my $ClangCXX = $Clang . "++";
+my $ClangCXX = $Clang;
+$ClangCXX =~ s/\-\d+\.\d+$//;
+$ClangCXX .= "++";
my $ClangVersion = HtmlEscape(`$Clang --version`);
##----------------------------------------------------------------------------##
More information about the cfe-commits
mailing list