Move calls of MaybeParseMicrosoftAttributes() before ParseExternalDeclaration()
authorNico Weber <nicolasweber@gmx.de>
Sat, 3 Sep 2016 02:48:03 +0000 (02:48 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 3 Sep 2016 02:48:03 +0000 (02:48 +0000)
commit8452327f2d278e1b6b1c668450b1463686c9bffe
tree9689858a3be96f3a474d9b503fcc5cbe53db0a9c
parent3c8472852eeac60adc5a7dc751009c5f76635364
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
clang/lib/Parse/ParseDeclCXX.cpp
clang/lib/Parse/ParseObjc.cpp
clang/lib/Parse/ParseOpenMP.cpp
clang/lib/Parse/Parser.cpp