Put return type of synthesize method on same line as method declaration, space after method declaration header.

llvm-svn: 45806
This commit is contained in:
Fariborz Jahanian 2008-01-10 01:39:52 +00:00
parent 4f45cef2f9
commit 7262fca0a6
1 changed files with 2 additions and 2 deletions

View File

@ -503,7 +503,7 @@ void RewriteTest::RewriteObjCMethodDecl(ObjCMethodDecl *OMD,
ResultStr += "id"; ResultStr += "id";
else else
ResultStr += OMD->getResultType().getAsString(); ResultStr += OMD->getResultType().getAsString();
ResultStr += "\n"; ResultStr += " ";
// Unique method name // Unique method name
std::string NameStr; std::string NameStr;
@ -567,7 +567,7 @@ void RewriteTest::RewriteObjCMethodDecl(ObjCMethodDecl *OMD,
ResultStr += " "; ResultStr += " ";
ResultStr += PDecl->getName(); ResultStr += PDecl->getName();
} }
ResultStr += ")"; ResultStr += ") ";
} }
void RewriteTest::RewriteImplementationDecl(NamedDecl *OID) { void RewriteTest::RewriteImplementationDecl(NamedDecl *OID) {