aboutsummaryrefslogtreecommitdiff
path: root/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
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;