Lines Matching refs:Clang
67 my $Clang;
76 $DefaultCCompiler = 'clang';
77 $DefaultCXXCompiler = 'clang++';
92 $Clang = $ENV{'CLANG_CXX'};
93 if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++'; }
101 $Clang = $ENV{'CLANG'};
102 if (!defined $Clang || ! -x $Clang) { $Clang = 'clang'; }
128 # Process Clang Crashes.
146 my ($Clang, $Lang, $file, $Args, $HtmlDir, $ErrorType, $ofile) = @_;
161 # Generate the preprocessed file with Clang.
166 system $Clang, @$Args, "-E", "-o", $PPFile;
189 my $OutputStream = silent_system($HtmlDir, $Clang, "-###", $mode, @$Args);
194 die "could not find clang line\n" if (!defined $line);
199 die "cannot find 'clang' in 'clang' command\n" if (!($cmd =~ /clang/));
204 my ($Clang, $OriginalArgs, $AnalyzeArgs, $Lang, $Output, $Verbose, $HtmlDir,
222 $Cmd = $Clang;
273 # Save STDOUT and STDERR of clang to a temporary file and reroute
274 # all clang output to ccc-analyzer's STDERR.
275 # We save the output file in the 'crashes' directory if clang encounters
289 if ($Result & 127 and $Cmd eq $Clang and defined $HtmlDir) {
290 ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses,
295 ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses,
298 ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses,
308 # know are currently not supported by Clang.
330 $ppfile = ProcessClangFailure($Clang, $Lang, $file,
511 # We don't want to process 'ppc' because of Clang's lack of support
752 Analyze($Clang, \@NewArgs, \@AnalyzeArgs, $FileLang, $Output,
757 Analyze($Clang, \@CmdArgs, \@AnalyzeArgs, $FileLang, $Output,