forked from OSchip/llvm-project
Quote invocation of clang in pipe to handle paths with spaces.
llvm-svn: 53775
This commit is contained in:
parent
f45f608e7d
commit
2a6b0b5d5e
|
@ -69,7 +69,7 @@ if (! -x $ClangSB) {
|
|||
my %AvailableAnalyses;
|
||||
|
||||
# Query clang for analysis options.
|
||||
open(PIPE, "$Clang --help |") or
|
||||
open(PIPE, "'$Clang's --help |") or
|
||||
DieDiag("Cannot execute '$Clang'");
|
||||
|
||||
my $FoundAnalysis = 0;
|
||||
|
|
Loading…
Reference in New Issue