]> granicus.if.org Git - clang/commitdiff
Put return type of synthesize method on same line as method declaration, space after...
authorFariborz Jahanian <fjahanian@apple.com>
Thu, 10 Jan 2008 01:39:52 +0000 (01:39 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Thu, 10 Jan 2008 01:39:52 +0000 (01:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45806 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/RewriteTest.cpp

index 0384c44670d339dd52e5126854cc31919c93ed3d..529f524d59ffb837d2b5aed58964d21261b055e0 100644 (file)
@@ -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) {