summaryrefslogtreecommitdiffstats
path: root/test/Index/comment-objc-decls.m
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-01-11 17:54:10 +0000
committerManuel Klimek <klimek@google.com>2013-01-11 17:54:10 +0000
commit517e894c56211f57c487bdaba8ead0edc84396fe (patch)
tree6af6e6190b4a37164c91d2be5a437e7dd10a772f /test/Index/comment-objc-decls.m
parent319437f457af59fa2efec6640d1e5565f4a45b3f (diff)
Implements pulling simple blocks into a single line.
void f() { return 42; } The final change that implements the feature. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/comment-objc-decls.m')
-rw-r--r--test/Index/comment-objc-decls.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Index/comment-objc-decls.m b/test/Index/comment-objc-decls.m
index ae3b0bbf41..58e65e4ca5 100644
--- a/test/Index/comment-objc-decls.m
+++ b/test/Index/comment-objc-decls.m
@@ -45,7 +45,7 @@
id IvarNSObject;
}
@end
-// CHECK: Declaration>@interface NSObject {\n id IvarNSObject;\n}\n@end</Declaration>
+// CHECK: Declaration>@interface NSObject { id IvarNSObject; }\n@end</Declaration>
// CHECK: <Declaration>id IvarNSObject</Declaration>
/**
@@ -73,7 +73,7 @@
*/
@property (copy) id PropertyMyClass;
@end
-// CHECK: <Declaration>@interface MyClass : NSObject &lt;MyProto&gt; {\n id IvarMyClass;\n}\n@end</Declaration>
+// CHECK: <Declaration>@interface MyClass : NSObject &lt;MyProto&gt; { id IvarMyClass; }\n@end</Declaration>
// CHECK: <Declaration>id IvarMyClass</Declaration>
// CHECK: <Declaration>- (id)MethodMyClass;</Declaration>
// CHECK: <Declaration>+ (id)ClassMethodMyClass;</Declaration>
@@ -90,7 +90,7 @@
id IvarMyClassExtension;
}
@end
-// CHECK: <Declaration>@interface MyClass () {\n id IvarMyClassExtension;\n}\n@end</Declaration>
+// CHECK: <Declaration>@interface MyClass () { id IvarMyClassExtension; }\n@end</Declaration>
// CHECK: <Declaration>id IvarMyClassExtension</Declaration>