diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-01-10 20:12:55 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-01-10 20:12:55 +0000 |
commit | 5f500df1b28e6b1c49d4256dda130ecd8696ea2e (patch) | |
tree | 8cbbe4aa95069fc949286f67bae3d0b5a11eadf0 /test/Index/comment-objc-decls.m | |
parent | f9ea2ed30a8dec954f3d78ca43afc0be914bb1db (diff) |
Formatting: In @implementation etc lines, put a space before protocol lists.
Don't do this in Google style though:
http://google-styleguide.googlecode.com/svn/trunk/objcguide.xml#Protocols
Most other places (function declarations, variable declarations) still get
this wrong, and since this looks very similiar to template instantiations to
the lexer (`id <MyProtocol> a = ...`), it's going to be hard to fix in some
places.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172099 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 9b9805fb84..ae3b0bbf41 100644 --- a/test/Index/comment-objc-decls.m +++ b/test/Index/comment-objc-decls.m @@ -73,7 +73,7 @@ */ @property (copy) id PropertyMyClass; @end -// CHECK: <Declaration>@interface MyClass : NSObject<MyProto> {\n id IvarMyClass;\n}\n@end</Declaration> +// CHECK: <Declaration>@interface MyClass : NSObject <MyProto> {\n id IvarMyClass;\n}\n@end</Declaration> // CHECK: <Declaration>id IvarMyClass</Declaration> // CHECK: <Declaration>- (id)MethodMyClass;</Declaration> // CHECK: <Declaration>+ (id)ClassMethodMyClass;</Declaration> |