diff options
Diffstat (limited to 'Parse/ParseObjc.cpp')
-rw-r--r-- | Parse/ParseObjc.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Parse/ParseObjc.cpp b/Parse/ParseObjc.cpp index e382974daf..e396f375e7 100644 --- a/Parse/ParseObjc.cpp +++ b/Parse/ParseObjc.cpp @@ -240,7 +240,7 @@ void Parser::ParseObjCInterfaceDeclList(DeclTy *interfaceDecl) { allMethods.push_back(ParseObjCMethodPrototype(interfaceDecl)); // Consume the ';' here, since ParseObjCMethodPrototype() is re-used for // method definitions. - ExpectAndConsume(tok::semi, diag::err_expected_semi_after, "method proto"); + ExpectAndConsume(tok::semi, diag::err_expected_semi_after,"method proto"); continue; } if (Tok.getKind() == tok::semi) @@ -253,9 +253,8 @@ void Parser::ParseObjCInterfaceDeclList(DeclTy *interfaceDecl) { ParseDeclarationOrFunctionDefinition(); } } - /// Insert collected methods declarations into the @interface object. - Actions.ObjcAddMethodsToClass(interfaceDecl, &allMethods[0], allMethods.size()); + Actions.ObjcAddMethodsToClass(interfaceDecl,&allMethods[0],allMethods.size()); return; } @@ -477,8 +476,8 @@ Parser::TypeTy *Parser::ParseObjCTypeName() { /// objc-keyword-attributes: [OBJC2] /// __attribute__((unused)) /// -Parser::DeclTy *Parser::ParseObjCMethodDecl(tok::TokenKind mType, SourceLocation mLoc) { - +Parser::DeclTy *Parser::ParseObjCMethodDecl(tok::TokenKind mType, + SourceLocation mLoc) { TypeTy *ReturnType = 0; AttributeList *methodAttrs = 0; |