summaryrefslogtreecommitdiffstats
path: root/test/Index/comment-objc-decls.m
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-01-09 21:15:03 +0000
committerNico Weber <nicolasweber@gmx.de>2013-01-09 21:15:03 +0000
commit1abe6ea5b8961a0fc14c2e0bdbd7451f643ca065 (patch)
tree9dce7b92a3f04afa006cd9f12e74274ce49eb60a /test/Index/comment-objc-decls.m
parentfa49c18071500d43c86a3c0029aecaea954a64ca (diff)
Formatting: Add support for @protocol.
Pull pieces of the @interface code into reusable methods. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/comment-objc-decls.m')
-rw-r--r--test/Index/comment-objc-decls.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/comment-objc-decls.m b/test/Index/comment-objc-decls.m
index 4b9a4bcaba..4c9f878c35 100644
--- a/test/Index/comment-objc-decls.m
+++ b/test/Index/comment-objc-decls.m
@@ -30,7 +30,7 @@
*/
+ ClassMethodMyProto;
@end
-// CHECK: <Declaration>@protocol MyProto @end</Declaration>
+// CHECK: <Declaration>@protocol MyProto\n@end</Declaration>
// CHECK: <Declaration>- (unsigned int)MethodMyProto:(id)anObject inRange:(unsigned int)range;</Declaration>
// CHECK: <Declaration>@optional\n @property(readwrite, copy, atomic) id PropertyMyProto;</Declaration>
// CHECK: <Declaration>+ (id)ClassMethodMyProto;</Declaration>