diff options
Diffstat (limited to 'clang/Parse/ParseObjc.cpp')
-rw-r--r-- | clang/Parse/ParseObjc.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/Parse/ParseObjc.cpp b/clang/Parse/ParseObjc.cpp index 0b6f303a489..f7ab990d29e 100644 --- a/clang/Parse/ParseObjc.cpp +++ b/clang/Parse/ParseObjc.cpp @@ -1297,14 +1297,13 @@ Parser::ExprResult Parser::ParseObjCProtocolExpression(SourceLocation AtLoc) Diag(Tok, diag::err_expected_ident); return true; } - - // FIXME: Do something with the protocol name + IdentifierInfo *protocolId = Tok.getIdentifierInfo(); ConsumeToken(); SourceLocation RParenLoc = MatchRHSPunctuation(tok::r_paren, LParenLoc); - // FIXME - return 0; + return Actions.ParseObjCProtocolExpression(protocolId, AtLoc, ProtoLoc, + LParenLoc, RParenLoc); } /// objc-selector-expression |