forked from OSchip/llvm-project
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:
parent
4f45cef2f9
commit
7262fca0a6
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue