Files
clang-p2996/clang/test/Modules/Inputs/DebugObjC.h
Adrian Prantl 8c0e50519b Module Debugging: Add Objective-C testcases for anonymous tag decls. (NFC)
rdar://problem/24199640

llvm-svn: 258252
2016-01-19 23:42:56 +00:00

39 lines
615 B
Objective-C

@class FwdDecl;
@interface ObjCClass {
int ivar;
}
+ classMethod;
- instanceMethodWithInt:(int)i;
- (struct OpaqueData*) getSomethingOpaque;
@property int property;
@end
@interface ObjCClass (Category)
- categoryMethod;
@end
@protocol ObjCProtocol
typedef enum {
e0 = 0
} InnerEnum;
+ (InnerEnum)protocolMethod;
@end
struct FwdDeclared;
struct FwdDeclared {
int i;
};
struct PureForwardDecl;
typedef union { int i; } TypedefUnion;
typedef enum { e1 = 1 } TypedefEnum;
typedef struct { int i; } TypedefStruct;
union { int i; } GlobalUnion;
struct { int i; } GlobalStruct;
enum { e2 = 2 } GlobalEnum;