summaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-06-02 15:02:59 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-06-02 15:02:59 +0000
commitb4530cfcf71b67629177695d40973b21cd57e3d9 (patch)
tree6b1b7db7ad851fbe6c82e73075f93de8d404eda1 /unittests
parent5f3537bf30eb66cb5183ff9bfe3dbc08b01e00ac (diff)
ASTPrinter: Objective-C method declarations don't need a space after
the return type rdar://32332039 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/AST/DeclPrinterTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/AST/DeclPrinterTest.cpp b/unittests/AST/DeclPrinterTest.cpp
index e5a09a31f6..ae6d0f0dd2 100644
--- a/unittests/AST/DeclPrinterTest.cpp
+++ b/unittests/AST/DeclPrinterTest.cpp
@@ -1228,7 +1228,7 @@ TEST(DeclPrinter, TestObjCMethod1) {
"@end\n",
namedDecl(hasName("A:inRange:"),
hasDescendant(namedDecl(hasName("printThis")))).bind("id"),
- "- (int) A:(id)anObject inRange:(long)range"));
+ "- (int)A:(id)anObject inRange:(long)range"));
}
TEST(DeclPrinter, TestObjCProtocol1) {