s/__nonnull/_Nonnull in a test for Objective-C __kindof.

llvm-svn: 241563
This commit is contained in:
Douglas Gregor 2015-07-07 06:20:41 +00:00
parent 25123c040d
commit 89442bbb79
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ void implicit_convert_array(NSArray<__kindof NSString *> *kindofStringsArray,
void testNullability() { void testNullability() {
// The base type being a pointer type tickles the bug. // The base type being a pointer type tickles the bug.
extern __kindof id <NSCopying> __nonnull getSomeCopyable(); extern __kindof id <NSCopying> _Nonnull getSomeCopyable();
NSString *string = getSomeCopyable(); // no-warning NSString *string = getSomeCopyable(); // no-warning
void processCopyable(__typeof(getSomeCopyable()) string); void processCopyable(__typeof(getSomeCopyable()) string);