diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2013-01-09 23:25:37 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2013-01-09 23:25:37 +0000 |
| commit | 2ce0ac5a8c6773dbb36d20f93f78f481812e1a34 (patch) | |
| tree | 79b08184e49ed93a44d91d8cb7c32b57f09e2f1a /clang/test | |
| parent | eb994f4064175f39c44badf6b41419bc4890455e (diff) | |
| download | bcm5719-llvm-2ce0ac5a8c6773dbb36d20f93f78f481812e1a34.tar.gz bcm5719-llvm-2ce0ac5a8c6773dbb36d20f93f78f481812e1a34.zip | |
Formatter: Add support for @implementation.
Just reuse the @interface code for this. It accepts slightly more than
necessary (@implementation cannot have protocol lists), but that's ok.
llvm-svn: 172019
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Index/comment-objc-decls.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Index/comment-objc-decls.m b/clang/test/Index/comment-objc-decls.m index 4c9f878c356..c61d99598d0 100644 --- a/clang/test/Index/comment-objc-decls.m +++ b/clang/test/Index/comment-objc-decls.m @@ -162,7 +162,7 @@ */ - (void) setPropertyMyClassCategory : (id) arg {} @end -// CHECK: <Declaration>@implementation MyClass(Category) @end</Declaration> +// CHECK: <Declaration>@implementation MyClass(Category)\n@end</Declaration> // CHECK: <Declaration>- (void)MethodMyClassCategory;</Declaration> // CHECK: <Declaration>- (id)PropertyMyClassCategory;</Declaration> // CHECK: <Declaration>- (void)setPropertyMyClassCategory:(id)arg;</Declaration> @@ -172,4 +172,4 @@ */ @implementation NSObject @end -// CHECK: <Declaration>@implementation NSObject @end</Declaration> +// CHECK: <Declaration>@implementation NSObject\n@end</Declaration> |

