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

Ted Kremenek kremenek at apple.com
Wed Apr 22 06:42:45 PDT 2009


Author: kremenek
Date: Wed Apr 22 08:42:27 2009
New Revision: 69802

URL: http://llvm.org/viewvc/llvm-project?rev=69802&view=rev
Log:
ccc-analyzer: Don't create preprocessed files about the ignored 'cdecl' attribute.  We know Clang doesn't support it yet.

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=69802&r1=69801&r2=69802&view=diff

==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Wed Apr 22 08:42:27 2009
@@ -193,6 +193,11 @@
     # Check if there were any unhandled attributes.
     if (open(CHILD, $ofile)) {
       my %attributes_not_handled;
+      
+      # Don't flag warnings about the following attributes that we
+      # know are currently not supported by Clang.
+      $attributes_not_handled{"cdecl"} = 1;
+      
       my $ppfile;
       while (<CHILD>) {
         next if (! /warning: '([^\']+)' attribute ignored/);





More information about the cfe-commits mailing list