diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2014-08-06 23:40:31 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2014-08-06 23:40:31 +0000 |
commit | 2a25dba153dd8a84149cbfaa2e106373f016b2b1 (patch) | |
tree | ac31048e8bd74b79b5a3aa4c291ba27225f217d5 /clang/test/CodeGenObjC/Inputs/literal-support.h | |
parent | c9595620925499c0f33a5380158bad8cac46fda2 (diff) | |
download | bcm5719-llvm-2a25dba153dd8a84149cbfaa2e106373f016b2b1.tar.gz bcm5719-llvm-2a25dba153dd8a84149cbfaa2e106373f016b2b1.zip |
Objective-C ARC. More code for Objective-C's
new APIs for literals. nfc. wip. rdar://17554063
llvm-svn: 215043
Diffstat (limited to 'clang/test/CodeGenObjC/Inputs/literal-support.h')
-rw-r--r-- | clang/test/CodeGenObjC/Inputs/literal-support.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/Inputs/literal-support.h b/clang/test/CodeGenObjC/Inputs/literal-support.h index 5680a20c9fb..fc80d88b13d 100644 --- a/clang/test/CodeGenObjC/Inputs/literal-support.h +++ b/clang/test/CodeGenObjC/Inputs/literal-support.h @@ -3,6 +3,10 @@ typedef unsigned char BOOL; +@interface NSObject ++ (id)alloc; +@end + @interface NSNumber @end @interface NSNumber (NSNumberCreation) @@ -21,14 +25,14 @@ typedef unsigned char BOOL; + (NSNumber *)numberWithBool:(BOOL)value; @end -@interface NSArray +@interface NSArray : NSObject @end @interface NSArray (NSArrayCreation) + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; @end -@interface NSDictionary +@interface NSDictionary : NSObject + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; @end |