diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-12-20 20:37:53 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-12-20 20:37:53 +0000 |
commit | 16f90bfe53ed637156c315cbbeddcf2d91266d67 (patch) | |
tree | 8ecbbd9d247a1dc1def6335c91118e5a5cc71678 /lib/Parse/ParseDecl.cpp | |
parent | 65548b305a29748d8365b10040a9681ba9423c78 (diff) |
Use the MaybeParseMicrosoftAttributes function.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170761 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |