diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-01-10 00:25:19 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-01-10 00:25:19 +0000 |
commit | b530fa374a8d4d96e61bf1dae8f4a73f4b3d2436 (patch) | |
tree | 18858375c5b14e74a9de295a4bfb4685b2b3fd30 /test/Index/comment-objc-decls.m | |
parent | 50767d8c8f2f667255bdb99692c0467ce992bc67 (diff) |
Formatter: @optional and @required go on their own line.
Previously:
@protocol myProtocol
- (void)mandatoryWithInt:(int)i;
@optional - (void) optional;
@required - (void) required;
@end
Now:
@protocol myProtocol
- (void)mandatoryWithInt:(int)i;
@optional
- (void)optional;
@required
- (void)required;
@end
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/comment-objc-decls.m')
-rw-r--r-- | test/Index/comment-objc-decls.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/comment-objc-decls.m b/test/Index/comment-objc-decls.m index c61d99598d..0e3c072121 100644 --- a/test/Index/comment-objc-decls.m +++ b/test/Index/comment-objc-decls.m @@ -32,7 +32,7 @@ @end // 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>@optional\n@property(readwrite, copy, atomic) id PropertyMyProto;</Declaration> // CHECK: <Declaration>+ (id)ClassMethodMyProto;</Declaration> /** |