diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:44:14 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:44:14 +0000 |
| commit | 2b6b257f4e5503a7a2675bdb8735693db769f75c (patch) | |
| tree | e85e046ae7003fe3bcc8b5454cd0fa3f7407b470 /test/Analysis/Inputs/system-header-simulator-for-objc-dealloc.h | |
| parent | b4348ed0b7e90c0831b925fbee00b5f179a99796 (diff) | |
Notes
Diffstat (limited to 'test/Analysis/Inputs/system-header-simulator-for-objc-dealloc.h')
| -rw-r--r-- | test/Analysis/Inputs/system-header-simulator-for-objc-dealloc.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/Analysis/Inputs/system-header-simulator-for-objc-dealloc.h b/test/Analysis/Inputs/system-header-simulator-for-objc-dealloc.h new file mode 100644 index 000000000000..231c0bf5640e --- /dev/null +++ b/test/Analysis/Inputs/system-header-simulator-for-objc-dealloc.h @@ -0,0 +1,35 @@ +#pragma clang system_header + +#define nil ((id)0) + +typedef signed char BOOL; +@protocol NSObject +- (BOOL)isEqual:(id)object; +- (Class)class; +@end + +@interface NSObject <NSObject> {} ++ (instancetype)alloc; +- (void)dealloc; +- (id)init; +- (id)retain; +- (oneway void)release; +@end + +@interface NSRunLoop : NSObject ++ (NSRunLoop *)currentRunLoop; +- (void)cancelPerformSelectorsWithTarget:(id)target; +@end + +@interface NSNotificationCenter : NSObject ++ (NSNotificationCenter *)defaultCenter; +- (void)removeObserver:(id)observer; +@end + +typedef struct objc_selector *SEL; + +void _Block_release(const void *aBlock); +#define Block_release(...) _Block_release((const void *)(__VA_ARGS__)) + +@interface CIFilter : NSObject +@end |
