summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-12-20 20:37:53 +0000
committerChad Rosier <mcrosier@apple.com>2012-12-20 20:37:53 +0000
commitf8a2e70b08838ef605bea3531093ff6f194fd1e3 (patch)
tree5c783064dbd71e9e37962fbf2648ff8812576ca3 /clang
parent9dd7e0f1f9843a52daa9a68b70ab524076a18056 (diff)
downloadbcm5719-llvm-f8a2e70b08838ef605bea3531093ff6f194fd1e3.tar.gz
bcm5719-llvm-f8a2e70b08838ef605bea3531093ff6f194fd1e3.zip
Use the MaybeParseMicrosoftAttributes function.
llvm-svn: 170761
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/Parse/ParseDecl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp
index 390fd34536e..23a6037bbb1 100644
--- a/clang/lib/Parse/ParseDecl.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud