r342350 - Also manages clang-X as tool for scan-build
Sylvestre Ledru via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 16 12:36:59 PDT 2018
Author: sylvestre
Date: Sun Sep 16 12:36:59 2018
New Revision: 342350
URL: http://llvm.org/viewvc/llvm-project?rev=342350&view=rev
Log:
Also manages clang-X as tool for scan-build
Summary:
This will make
scan-build-7 clang-7 -c foo.c &> /dev/null
Reviewers: jroelofs
Subscribers: kristina, cfe-commits
Differential Revision: https://reviews.llvm.org/D52151
Modified:
cfe/trunk/tools/scan-build/bin/scan-build
Modified: cfe/trunk/tools/scan-build/bin/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/bin/scan-build?rev=342350&r1=342349&r2=342350&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/bin/scan-build (original)
+++ cfe/trunk/tools/scan-build/bin/scan-build Sun Sep 16 12:36:59 2018
@@ -1079,7 +1079,7 @@ sub RunBuildCommand {
if ($Cmd =~ /(.*\/?gcc[^\/]*$)/ or
$Cmd =~ /(.*\/?cc[^\/]*$)/ or
$Cmd =~ /(.*\/?llvm-gcc[^\/]*$)/ or
- $Cmd =~ /(.*\/?clang$)/ or
+ $Cmd =~ /(.*\/?clang[^\/]*$)/ or
$Cmd =~ /(.*\/?ccc-analyzer[^\/]*$)/) {
if (!($Cmd =~ /ccc-analyzer/) and !defined $ENV{"CCC_CC"}) {
More information about the cfe-commits
mailing list