diff options
author | John McCall <rjmccall@apple.com> | 2012-05-22 21:28:12 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2012-05-22 21:28:12 +0000 |
commit | 8d32c05ed48a8a21e85603c0ae2aebf322ed2652 (patch) | |
tree | d72de0791a41fdee5d040ce7b709fd4318caaf4b /clang/lib/Parse/ParseDecl.cpp | |
parent | fa6cf4cc9af67618b8064cc6d7cd1074d371942f (diff) | |
download | bcm5719-llvm-8d32c05ed48a8a21e85603c0ae2aebf322ed2652.tar.gz bcm5719-llvm-8d32c05ed48a8a21e85603c0ae2aebf322ed2652.zip |
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
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
-rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index c3ffd9e135d..ac6378035cf 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -343,10 +343,6 @@ void Parser::ParseMicrosoftTypeAttributes(ParsedAttributes &attrs) { Tok.is(tok::kw___unaligned)) { IdentifierInfo *AttrName = Tok.getIdentifierInfo(); SourceLocation AttrNameLoc = ConsumeToken(); - if (Tok.is(tok::kw___ptr64) || Tok.is(tok::kw___w64) || - Tok.is(tok::kw___ptr32)) - // FIXME: Support these properly! - continue; attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, 0, SourceLocation(), 0, 0, true); } |