diff options
Diffstat (limited to 'test/Analysis/retain-release-arc.m')
| -rw-r--r-- | test/Analysis/retain-release-arc.m | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Analysis/retain-release-arc.m b/test/Analysis/retain-release-arc.m index 78115ac5bde0..31081e964abb 100644 --- a/test/Analysis/retain-release-arc.m +++ b/test/Analysis/retain-release-arc.m @@ -90,13 +90,12 @@ void _dispatch_object_validate(dispatch_object_t object); CFErrorRef error; CFDictionaryRef testDict = CFPropertyListCreateWithData(kCFAllocatorDefault, (__bridge CFDataRef)plistData, 0, 0, &error); #if HAS_ARC - // expected-note@-2 {{Call to function 'CFPropertyListCreateWithData' returns a Core Foundation object of type CFPropertyListRef with a +1 retain count}} + // expected-note@-2 {{Call to function 'CFPropertyListCreateWithData' returns a Core Foundation object of type 'CFPropertyListRef' with a +1 retain count}} #endif return (__bridge NSDictionary *)testDict; #if HAS_ARC // expected-warning@-2 {{Potential leak of an object stored into 'testDict'}} - // expected-note@-3 {{Object returned to caller as an owning reference (single retain count transferred to caller)}} - // expected-note@-4 {{Object leaked: object allocated and stored into 'testDict' is returned from a method managed by Automatic Reference Counting}} + // expected-note@-3 {{Object leaked: object allocated and stored into 'testDict' is returned from a method managed by Automatic Reference Counting}} #endif } |
