Home | History | Annotate | Download | only in scan-build

Lines Matching refs:Clang

29 my $Clang;
36 $DefaultCCompiler = 'clang';
37 $DefaultCXXCompiler = 'clang++';
47 $Clang = $ENV{'CLANG_CXX'};
48 if (!defined $Clang) { $Clang = 'clang++'; }
54 $Clang = $ENV{'CLANG'};
55 if (!defined $Clang) { $Clang = 'clang'; }
82 # Process Clang Crashes.
100 my ($Clang, $Lang, $file, $Args, $HtmlDir, $ErrorType, $ofile) = @_;
115 # Generate the preprocessed file with Clang.
119 system $Clang, @ClangFlags, @$Args, @ClangFlagsEnd, "-E", "-o", $PPFile;
148 exec $Clang, "-###", $mode, @ClangFlags, @$Args, @ClangFlagsEnd;
160 die "could not find clang line\n" if (!defined $line);
166 die "cannot find 'analyzer' in 'clang' command $cmd\n" if (!($cmd =~ /analyzer/));
171 my ($Clang, $OriginalArgs, $AnalyzeArgs, $Lang, $Output, $Verbose, $HtmlDir,
189 $Cmd = $Clang;
240 # Capture the STDERR of clang and send it to a temporary file.
241 # Capture the STDOUT of clang and reroute it to ccc-analyzer's STDERR.
242 # We save the output file in the 'crashes' directory if clang encounters
268 if ($Result & 127 and $Cmd eq $Clang and defined $HtmlDir) {
269 ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses,
274 ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses,
277 ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses,
287 # know are currently not supported by Clang.
309 $ppfile = ProcessClangFailure($Clang, $Lang, $file,
477 # We don't want to process 'ppc' because of Clang's lack of support
699 Analyze($Clang, \@NewArgs, \@AnalyzeArgs, $FileLang, $Output,
704 Analyze($Clang, \@CmdArgs, \@AnalyzeArgs, $FileLang, $Output,