[cfe-commits] r65619 - /cfe/trunk/utils/ccc-analyzer

Ted Kremenek kremenek at apple.com
Thu Feb 26 22:17:39 PST 2009


Author: kremenek
Date: Fri Feb 27 00:17:38 2009
New Revision: 65619

URL: http://llvm.org/viewvc/llvm-project?rev=65619&view=rev
Log:
Don't report 'Parser Rejects' for conftest files.

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=65619&r1=65618&r2=65619&view=diff

==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Fri Feb 27 00:17:38 2009
@@ -184,8 +184,10 @@
                         "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.





More information about the cfe-commits mailing list