]> granicus.if.org Git - clang/commit
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)
commitc052dbb2d8fe0e23e90d81236aab0f864f712b45
tree5a99a2c13dbe2d2cabdd32b64b20b595d0c260d9
parent6c20222da814df4cb1ef97681f0e1e8cb5a01b40
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!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157288 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/TokenKinds.def
include/clang/Parse/Parser.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaType.cpp
test/Parser/MicrosoftExtensions.c
test/Parser/MicrosoftExtensions.cpp