diff options
author | Nico Weber <nicolasweber@gmx.de> | 2016-09-03 02:48:03 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2016-09-03 02:48:03 +0000 |
commit | 8452327f2d278e1b6b1c668450b1463686c9bffe (patch) | |
tree | 9689858a3be96f3a474d9b503fcc5cbe53db0a9c /clang/lib/Parse/ParseObjc.cpp | |
parent | 3c8472852eeac60adc5a7dc751009c5f76635364 (diff) | |
download | bcm5719-llvm-8452327f2d278e1b6b1c668450b1463686c9bffe.tar.gz bcm5719-llvm-8452327f2d278e1b6b1c668450b1463686c9bffe.zip |
Move calls of MaybeParseMicrosoftAttributes() before ParseExternalDeclaration()
into ParseDeclOrFunctionDefInternal() (which is called by
MaybeParseMicrosoftAttributes()), so that the attributes can be stored in
the DeclSpec. No behavior change yet, part of https://reviews.llvm.org/D23895
llvm-svn: 280574
Diffstat (limited to 'clang/lib/Parse/ParseObjc.cpp')
-rw-r--r-- | clang/lib/Parse/ParseObjc.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseObjc.cpp b/clang/lib/Parse/ParseObjc.cpp index 75ddfcb03ed..b5569950020 100644 --- a/clang/lib/Parse/ParseObjc.cpp +++ b/clang/lib/Parse/ParseObjc.cpp @@ -2238,7 +2238,6 @@ Parser::ParseObjCAtImplementationDeclaration(SourceLocation AtLoc) { while (!ObjCImplParsing.isFinished() && !isEofOrEom()) { ParsedAttributesWithRange attrs(AttrFactory); MaybeParseCXX11Attributes(attrs); - MaybeParseMicrosoftAttributes(attrs); if (DeclGroupPtrTy DGP = ParseExternalDeclaration(attrs)) { DeclGroupRef DG = DGP.get(); DeclsInGroup.append(DG.begin(), DG.end()); |