Lines Matching refs:Clang
67 my $Clang;
77 $DefaultCCompiler = 'clang';
78 $DefaultCXXCompiler = 'clang++';
93 $Clang = $ENV{'CLANG_CXX'};
94 if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++'; }
102 $Clang = $ENV{'CLANG'};
103 if (!defined $Clang || ! -x $Clang) { $Clang = 'clang'; }
131 # Process Clang Crashes.
149 my ($Clang, $Lang, $file, $Args, $HtmlDir, $ErrorType, $ofile) = @_;
164 # Generate the preprocessed file with Clang.
169 system $Clang, @$Args, "-E", "-o", $PPFile;
192 my $OutputStream = silent_system($HtmlDir, $Clang, "-###", $mode, @$Args);
197 die "could not find clang line\n" if (!defined $line);
202 die "cannot find 'clang' in 'clang' command\n" if (!($cmd =~ /clang/));
207 my ($Clang, $OriginalArgs, $AnalyzeArgs, $Lang, $Output, $Verbose, $HtmlDir,
225 $Cmd = $Clang;
280 # Save STDOUT and STDERR of clang to a temporary file and reroute
281 # all clang output to ccc-analyzer's STDERR.
282 # We save the output file in the 'crashes' directory if clang encounters
296 if ($Result & 127 and $Cmd eq $Clang and defined $HtmlDir) {
297 ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses,
302 ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses,
305 ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses,
315 # know are currently not supported by Clang.
337 $ppfile = ProcessClangFailure($Clang, $Lang, $file,
518 # We don't want to process 'ppc' because of Clang's lack of support
768 Analyze($Clang, \@NewArgs, \@AnalyzeArgs, $FileLang, $Output,
773 Analyze($Clang, \@CmdArgs, \@AnalyzeArgs, $FileLang, $Output,