aboutsummaryrefslogtreecommitdiff
path: root/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Parse/ParseDecl.cpp')
-rw-r--r--Parse/ParseDecl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Parse/ParseDecl.cpp b/Parse/ParseDecl.cpp
index 0e27c607c9..a96211df7d 100644
--- a/Parse/ParseDecl.cpp
+++ b/Parse/ParseDecl.cpp
@@ -916,12 +916,14 @@ bool Parser::isDeclarationSpecifier() const {
// function-specifier
case tok::kw_inline:
+
+ // attributes.
+ case tok::kw___attribute:
return true;
// typedef-name
case tok::identifier:
return Actions.isTypeName(*Tok.getIdentifierInfo(), CurScope) != 0;
- // TODO: Attributes.
}
}