[cfe-commits] r40963 - /cfe/trunk/Parse/ParseDecl.cpp
Chris Lattner
sabre at nondot.org
Thu Aug 9 10:01:10 PDT 2007
Author: lattner
Date: Thu Aug 9 12:01:07 2007
New Revision: 40963
URL: http://llvm.org/viewvc/llvm-project?rev=40963&view=rev
Log:
minor cleanups
Modified:
cfe/trunk/Parse/ParseDecl.cpp
Modified: cfe/trunk/Parse/ParseDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Parse/ParseDecl.cpp?rev=40963&r1=40962&r2=40963&view=diff
==============================================================================
--- cfe/trunk/Parse/ParseDecl.cpp (original)
+++ cfe/trunk/Parse/ParseDecl.cpp Thu Aug 9 12:01:07 2007
@@ -865,8 +865,6 @@
// typedef-name
case tok::identifier:
return Actions.isTypeName(*Tok.getIdentifierInfo(), CurScope) != 0;
-
- // TODO: Attributes.
}
}
@@ -911,13 +909,13 @@
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;
More information about the cfe-commits
mailing list