From: Fariborz Jahanian Date: Tue, 24 Sep 2013 20:31:24 +0000 (+0000) Subject: ObjectiveC migrator: Another test for my last patch. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3226abfb83cc9bcb88b7bb1417ce9a8398ffb320;p=clang ObjectiveC migrator: Another test for my last patch. // rdar://15044991 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191334 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/ARCMT/objcmt-ns-returns-inner-pointer.m b/test/ARCMT/objcmt-ns-returns-inner-pointer.m index d046317b1b..42cbdb8e51 100644 --- a/test/ARCMT/objcmt-ns-returns-inner-pointer.m +++ b/test/ARCMT/objcmt-ns-returns-inner-pointer.m @@ -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 +@property NSUInteger (*hashFunction)(const void *item, NSUInteger (*size)(const void *item)); @end diff --git a/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result b/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result index 8331e1669b..4980cfbb2d 100644 --- a/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result +++ b/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result @@ -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 +@property NSUInteger (* NS_RETURNS_INNER_POINTER hashFunction)(const void *item, NSUInteger (*size)(const void *item)); @end