Skip to content

Commit 16f90bf

Browse files
author
Chad Rosier
committedDec 20, 2012
Use the MaybeParseMicrosoftAttributes function.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170761 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 65548b3 commit 16f90bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎lib/Parse/ParseDecl.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -4952,8 +4952,7 @@ void Parser::ParseParameterDeclarationClause(
49524952
MaybeParseCXX0XAttributes(DS.getAttributes());
49534953

49544954
// Skip any Microsoft attributes before a param.
4955-
if (getLangOpts().MicrosoftExt && Tok.is(tok::l_square))
4956-
ParseMicrosoftAttributes(DS.getAttributes());
4955+
MaybeParseMicrosoftAttributes(DS.getAttributes());
49574956

49584957
SourceLocation DSStart = Tok.getLocation();
49594958

0 commit comments

Comments
 (0)
Please sign in to comment.