forked from OSchip/llvm-project
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 llvm-svn: 342350
This commit is contained in:
parent
ea069ffd44
commit
757a1fae34
|
@ -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"}) {
|
||||
|
|
Loading…
Reference in New Issue