diff options
Diffstat (limited to 'lib/Parse/ParseDeclCXX.cpp')
-rw-r--r-- | lib/Parse/ParseDeclCXX.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Parse/ParseDeclCXX.cpp b/lib/Parse/ParseDeclCXX.cpp index 0e8eebce5c..1e8b18dc2e 100644 --- a/lib/Parse/ParseDeclCXX.cpp +++ b/lib/Parse/ParseDeclCXX.cpp @@ -409,9 +409,8 @@ void Parser::ParseClassSpecifier(tok::TokenKind TagTokKind, Attr = ParseAttributes(); // If declspecs exist after tag, parse them. - if (Tok.is(tok::kw___declspec) && PP.getLangOptions().Microsoft) - // FIXME: Need to do something with the attributes! - ParseMicrosoftDeclSpec(); + if (Tok.is(tok::kw___declspec)) + Attr = ParseMicrosoftDeclSpec(Attr); // Parse the (optional) nested-name-specifier. CXXScopeSpec SS; |