Replace AS_MSTypespec with AS_Keyword, for representing any attribute spelled
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Jan 2013 01:24:26 +0000 (01:24 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Jan 2013 01:24:26 +0000 (01:24 +0000)
commit0cdcc98200b8b2c0dea21bae433677f88aae597c
tree76a13eca3ee3776405ecde8c75ba15be76d1f8bc
parent3c94737fb71acdc3dc91255d11c3ccba496aba8a
Replace AS_MSTypespec with AS_Keyword, for representing any attribute spelled
as a keyword. Rationalize existing attributes to use it as appropriate, and to
not lie about some __declspec attributes being GNU attributes. In passing,
remove a gross hack which was discarding attributes which we could handle. This
results in us actually respecting the __pascal keyword again.

llvm-svn: 173746
clang/include/clang/Basic/Attr.td
clang/include/clang/Sema/AttributeList.h
clang/lib/Parse/ParseDecl.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/lib/Sema/SemaType.cpp
clang/test/Sema/attr-print.c
clang/test/SemaCXX/attr-print.cpp
clang/test/SemaCXX/borland-extensions.cpp
clang/test/SemaCXX/cxx11-attr-print.cpp
clang/utils/TableGen/ClangAttrEmitter.cpp