Recognize the MS inheritance attributes and turn them into attributes
authorJohn McCall <rjmccall@apple.com>
Tue, 22 May 2012 21:28:12 +0000 (21:28 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 22 May 2012 21:28:12 +0000 (21:28 +0000)
commit8d32c05ed48a8a21e85603c0ae2aebf322ed2652
treed72de0791a41fdee5d040ce7b709fd4318caaf4b
parentfa6cf4cc9af67618b8064cc6d7cd1074d371942f
Recognize the MS inheritance attributes and turn them into attributes
on the RecordDecl.  Persist the MS portability type attributes and
ignore them in Sema rather than the parser.

Patch by João Matos!

llvm-svn: 157288
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Basic/TokenKinds.def
clang/include/clang/Parse/Parser.h
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/ParseDeclCXX.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/lib/Sema/SemaType.cpp
clang/test/Parser/MicrosoftExtensions.c
clang/test/Parser/MicrosoftExtensions.cpp