ccc-analyzer: Don't automatically generate 'Parser Rejects' files anymore. The

frontend is far enough along that most discrepancies between Clang and GCC are
(at least for C and Objective-C) are intentional. We also now have codegen to
test the frontend.

llvm-svn: 70303
This commit is contained in:
Ted Kremenek 2009-04-28 17:37:44 +00:00
parent 25148e11fb
commit ce6b865c21
1 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,10 @@ sub GetPPExt {
return ".i";
}
# Set this to 1 if we want to include 'parser rejects' files.
my $IncludeParserRejects = 0;
my $ParserRejects = "Parser Rejects";
my $AttributeIgnored = "Attribute Ignored";
sub ProcessClangFailure {
@ -184,7 +187,7 @@ sub Analyze {
"Crash", $ofile);
}
elsif ($Result) {
if (!($file =~/conftest/)) {
if ($IncludeParserRejects && !($file =~/conftest/)) {
ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses, $HtmlDir,
$ParserRejects, $ofile);
}