Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Analysis / inlining / InlineObjCInstanceMethod.h
blobbb0da280c8ef2b2ca5d98beccfc3d875deb8478d
2 // Define a public header for the ObjC methods that are "visible" externally
3 // and, thus, could be sub-classed. We should explore the path on which these
4 // are sub-classed with unknown class by not inlining them.
6 typedef signed char BOOL;
7 typedef struct objc_class *Class;
8 typedef struct objc_object {
9 Class isa;
10 } *id;
11 @protocol NSObject - (BOOL)isEqual:(id)object; @end
12 @interface NSObject <NSObject> {}
13 +(id)alloc;
14 +(id)new;
15 -(id)init;
16 -(id)autorelease;
17 -(id)copy;
18 - (Class)class;
19 -(id)retain;
20 @end
22 @interface PublicClass : NSObject {
23 int value3;
25 - (int)getZeroPublic;
27 - (int) value2;
29 @property (readonly) int value1;
31 @property int value3;
32 - (int)value3;
33 - (void)setValue3:(int)newValue;
34 @end
36 @interface PublicSubClass : PublicClass
37 @end
39 @interface PublicParent : NSObject
40 - (int)getZeroOverridden;
41 @end
43 @interface PublicSubClass2 : PublicParent
44 - (int) getZeroOverridden;
45 @end