]> granicus.if.org Git - clang/commitdiff
minor cleanups
authorChris Lattner <sabre@nondot.org>
Thu, 9 Aug 2007 17:01:07 +0000 (17:01 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Aug 2007 17:01:07 +0000 (17:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40963 91177308-0d34-0410-b5e6-96231b3b80d8

Parse/ParseDecl.cpp

index a96211df7d20b223c424c5bbc656183a2ff5adab..97f3661e3b1ba539fcda1e7a696e983b8a5386bf 100644 (file)
@@ -865,8 +865,6 @@ bool Parser::isTypeSpecifierQualifier() const {
     // typedef-name
   case tok::identifier:
     return Actions.isTypeName(*Tok.getIdentifierInfo(), CurScope) != 0;
-    
-    // TODO: Attributes.
   }
 }
 
@@ -911,13 +909,13 @@ bool Parser::isDeclarationSpecifier() const {
   case tok::kw_volatile:
   case tok::kw_restrict:
 
-    // GNU typeof support.
-  case tok::kw_typeof:
-    
     // function-specifier
   case tok::kw_inline:
 
-    // attributes.
+    // GNU typeof support.
+  case tok::kw_typeof:
+    
+    // GNU attributes.
   case tok::kw___attribute:
     return true;