[cfe-commits] r70303 - /cfe/trunk/utils/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Tue Apr 28 10:37:45 PDT 2009
Author: kremenek
Date: Tue Apr 28 12:37:44 2009
New Revision: 70303
URL: http://llvm.org/viewvc/llvm-project?rev=70303&view=rev
Log:
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.
Modified:
cfe/trunk/utils/ccc-analyzer
Modified: cfe/trunk/utils/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=70303&r1=70302&r2=70303&view=diff
==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Tue Apr 28 12:37:44 2009
@@ -41,7 +41,10 @@
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 @@
"Crash", $ofile);
}
elsif ($Result) {
- if (!($file =~/conftest/)) {
+ if ($IncludeParserRejects && !($file =~/conftest/)) {
ProcessClangFailure($Clang, $Lang, $file, \@CmdArgsSansAnalyses, $HtmlDir,
$ParserRejects, $ofile);
}
More information about the cfe-commits
mailing list