diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-08-25 17:47:31 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-08-25 17:47:31 +0000 |
commit | d8e987bee9d39f9131e9be319483265fd894c108 (patch) | |
tree | 94fbabb8b6495741d8237533c1a3cf989fe40fa2 /lib/Parse/Parser.cpp | |
parent | fab83b5e7cb9507c7775edb93ed84758df132285 (diff) |
objc -arse: Use DeclGroup for forward class declarations;
as in @class foo, bar. More cleanup to follow.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138567 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/Parser.cpp')
-rw-r--r-- | lib/Parse/Parser.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Parse/Parser.cpp b/lib/Parse/Parser.cpp index 0da2b4302c..e57b898d52 100644 --- a/lib/Parse/Parser.cpp +++ b/lib/Parse/Parser.cpp @@ -593,10 +593,7 @@ Parser::ParseExternalDeclaration(ParsedAttributesWithRange &attrs, break; } case tok::at: - // @ is not a legal token unless objc is enabled, no need to check for ObjC. - /// FIXME: ParseObjCAtDirectives should return a DeclGroup for things like - /// @class foo, bar; - SingleDecl = ParseObjCAtDirectives(); + return ParseObjCAtDirectives(); break; case tok::minus: case tok::plus: |