aboutsummaryrefslogtreecommitdiff
path: root/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-09 17:01:07 +0000
committerChris Lattner <sabre@nondot.org>2007-08-09 17:01:07 +0000
commit1ef0876d5afa0746d06614bc9fa84d83ee6eff49 (patch)
tree7f5a0da896e1de6d68cc7d04b46ae9fba8591764 /Parse/ParseDecl.cpp
parentd6c7c182853531a6423e7dd542e47a38680bfba0 (diff)
minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Parse/ParseDecl.cpp')
-rw-r--r--Parse/ParseDecl.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/Parse/ParseDecl.cpp b/Parse/ParseDecl.cpp
index a96211df7d..97f3661e3b 100644
--- a/Parse/ParseDecl.cpp
+++ b/Parse/ParseDecl.cpp
@@ -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;