r191334 - ObjectiveC migrator: Another test for my last patch.
Fariborz Jahanian
fjahanian at apple.com
Tue Sep 24 13:31:24 PDT 2013
Author: fjahanian
Date: Tue Sep 24 15:31:24 2013
New Revision: 191334
URL: http://llvm.org/viewvc/llvm-project?rev=191334&view=rev
Log:
ObjectiveC migrator: Another test for my last patch.
// rdar://15044991
Modified:
cfe/trunk/test/ARCMT/objcmt-ns-returns-inner-pointer.m
cfe/trunk/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result
Modified: cfe/trunk/test/ARCMT/objcmt-ns-returns-inner-pointer.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/ARCMT/objcmt-ns-returns-inner-pointer.m?rev=191334&r1=191333&r2=191334&view=diff
==============================================================================
--- cfe/trunk/test/ARCMT/objcmt-ns-returns-inner-pointer.m (original)
+++ cfe/trunk/test/ARCMT/objcmt-ns-returns-inner-pointer.m Tue Sep 24 15:31:24 2013
@@ -80,6 +80,7 @@ typedef struct CGImage *CGImageRef;
typedef struct OpaqueJSValue* JSObjectRef;
typedef JSObjectRef TTJSObjectRef;
+typedef unsigned int NSUInteger;
CF_IMPLICIT_BRIDGING_DISABLED
@@ -121,4 +122,6 @@ typedef void *SecTrustRef;
- (SecTrustRef) FOO1 NS_AVAILABLE;
+// pointer personality functions
+ at property NSUInteger (*hashFunction)(const void *item, NSUInteger (*size)(const void *item));
@end
Modified: cfe/trunk/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result?rev=191334&r1=191333&r2=191334&view=diff
==============================================================================
--- cfe/trunk/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result (original)
+++ cfe/trunk/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result Tue Sep 24 15:31:24 2013
@@ -80,6 +80,7 @@ typedef struct CGImage *CGImageRef;
typedef struct OpaqueJSValue* JSObjectRef;
typedef JSObjectRef TTJSObjectRef;
+typedef unsigned int NSUInteger;
CF_IMPLICIT_BRIDGING_DISABLED
@@ -121,4 +122,6 @@ typedef void *SecTrustRef;
- (SecTrustRef) FOO1 NS_AVAILABLE NS_RETURNS_INNER_POINTER;
+// pointer personality functions
+ at property NSUInteger (* NS_RETURNS_INNER_POINTER hashFunction)(const void *item, NSUInteger (*size)(const void *item));
@end
More information about the cfe-commits
mailing list