[cfe-commits] r38837 - /cfe/cfe/trunk/Parse/ParseDecl.cpp

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:25:04 PDT 2007


Author: sabre
Date: Wed Jul 11 11:25:03 2007
New Revision: 38837

URL: http://llvm.org/viewvc/llvm-project?rev=38837&view=rev
Log:
comment cleanup

Modified:
    cfe/cfe/trunk/Parse/ParseDecl.cpp

Modified: cfe/cfe/trunk/Parse/ParseDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Parse/ParseDecl.cpp?rev=38837&r1=38836&r2=38837&view=diff

==============================================================================
--- cfe/cfe/trunk/Parse/ParseDecl.cpp (original)
+++ cfe/cfe/trunk/Parse/ParseDecl.cpp Wed Jul 11 11:25:03 2007
@@ -408,7 +408,7 @@
       
       isGrouping = false;
     } else {
-      // Otherwise, 'int (*X)', this is a grouping paren.
+      // Otherwise, this is a grouping paren, e.g. 'int (*X)'.
       isGrouping = true;
     }
     
@@ -429,8 +429,9 @@
     }
     
     // Okay, if this wasn't a grouping paren, it must be the start of a function
-    // argument list.  Recognize that this will never have an identifier (and
-    // where it would be), then fall through to the handling of argument lists.
+    // argument list.  Recognize that this declarator will never have an
+    // identifier (and remember where it would have been), then fall through to
+    // the handling of argument lists.
     D.SetIdentifier(0, Tok.getLocation());
   }
   
@@ -528,6 +529,7 @@
   
   // FIXME: pop the scope.  
   
+  // FIXME: Add the function declarator.
   
   // If we have the closing ')', eat it and we're done.
   if (Tok.getKind() == tok::r_paren) {





More information about the cfe-commits mailing list