diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index 390fd34536..23a6037bbb 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -4952,8 +4952,7 @@ void Parser::ParseParameterDeclarationClause( MaybeParseCXX0XAttributes(DS.getAttributes()); // Skip any Microsoft attributes before a param. - if (getLangOpts().MicrosoftExt && Tok.is(tok::l_square)) - ParseMicrosoftAttributes(DS.getAttributes()); + MaybeParseMicrosoftAttributes(DS.getAttributes()); SourceLocation DSStart = Tok.getLocation();