Fix a few 80 column violations.

llvm-svn: 42028
This commit is contained in:
Steve Naroff 2007-09-17 15:07:43 +00:00
parent 96aee15d33
commit ed977473fe
1 changed files with 4 additions and 5 deletions

View File

@ -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;