Don't report 'Parser Rejects' for conftest files.

llvm-svn: 65619
This commit is contained in:
Ted Kremenek 2009-02-27 06:17:38 +00:00
parent 33b220510b
commit 078b8879e7
1 changed files with 4 additions and 2 deletions

View File

@ -184,8 +184,10 @@ sub Analyze {
"Crash", $ofile);
}
elsif ($Result) {
ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses, $HtmlDir,
$ParserRejects, $ofile);
if (!($file =~/conftest/)) {
ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses, $HtmlDir,
$ParserRejects, $ofile);
}
}
else {
# Check if there were any unhandled attributes.