Files
qt-creator/tests/cpplocators/testdata_basic/file1.mm
Erik Verbruggen 3a242495fe ObjC++: also index ObjC symbols.
@classes, @protocols, @properties and -methods (and +methods) will now
show up in the locator.

Change-Id: I33f904c456c321fc80b8aba7ff52d5f1207c58be
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2014-07-24 11:38:54 +02:00

24 lines
393 B
Plaintext

// Copyright header to keep the Qt Insanity Bot happy.
@protocol NSObject
@end
@interface NSObject<NSObject>
@end
@protocol MyProtocol <NSObject>
- (void) someMethod;
@end
@interface MyClass: NSObject <MyProtocol>
@end
@implementation MyClass
- (void) someMethod {}
@end
@implementation MyClass(MyCategory)
- (void) anotherMethod;{}
- (void) anotherMethod:(NSObject*)withAnObject{}
@end