diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-01-10 01:39:52 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-01-10 01:39:52 +0000 |
commit | 531a1ea2f4c88817f3dc0f4628dfc34536f54c5e (patch) | |
tree | 24f83c5a5334a45672532b60f33c664bedf91e4a /Driver/RewriteTest.cpp | |
parent | b6d2360787e5a0bb5d26f3bc7a83059a8b050dc4 (diff) |
Put return type of synthesize method on same line as method declaration, space after method declaration header.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45806 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteTest.cpp')
-rw-r--r-- | Driver/RewriteTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp index 0384c44670..529f524d59 100644 --- a/Driver/RewriteTest.cpp +++ b/Driver/RewriteTest.cpp @@ -503,7 +503,7 @@ void RewriteTest::RewriteObjCMethodDecl(ObjCMethodDecl *OMD, ResultStr += "id"; else ResultStr += OMD->getResultType().getAsString(); - ResultStr += "\n"; + ResultStr += " "; // Unique method name std::string NameStr; @@ -567,7 +567,7 @@ void RewriteTest::RewriteObjCMethodDecl(ObjCMethodDecl *OMD, ResultStr += " "; ResultStr += PDecl->getName(); } - ResultStr += ")"; + ResultStr += ") "; } void RewriteTest::RewriteImplementationDecl(NamedDecl *OID) { |