Searched refs:userInfo (Results 1 – 14 of 14) sorted by relevance
| /llvm-project-15.0.7/lldb/test/API/lang/objc/exceptions/ |
| H A D | TestObjCExceptions.py | 82 userInfo = e1.GetChildMemberWithName("userInfo").dynamic 83 self.assertEqual(userInfo.summary, "1 key/value pair") 84 self.assertEqual(userInfo.GetChildAtIndex(0).GetChildAtIndex(0).description, "some_key") 85 self.assertEqual(userInfo.GetChildAtIndex(0).GetChildAtIndex(1).description, "some_value") 111 userInfo = e2.GetChildMemberWithName("userInfo").dynamic 112 self.assertEqual(userInfo.summary, "1 key/value pair") 113 self.assertEqual(userInfo.GetChildAtIndex(0).GetChildAtIndex(0).description, "some_key") 114 self.assertEqual(userInfo.GetChildAtIndex(0).GetChildAtIndex(1).description, "some_value")
|
| H A D | main.mm | 16 … @throw [[NSException alloc] initWithName:@"ThrownException" reason:@"SomeReason" userInfo:info]; 18 …row [[MyCustomException alloc] initWithName:@"ThrownException" reason:@"SomeReason" userInfo:info]; 38 …ption *e1 = [[NSException alloc] initWithName:@"ExceptionName" reason:@"SomeReason" userInfo:info];
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | cfref_PR2519.c | 27 …CenterRef center, CFStringRef name, const void *object, CFDictionaryRef userInfo, Boolean deliverI… 37 …CFDictionaryRef userInfo = CFDictionaryCreate(kCFAllocatorDefault, (const void **)&_key, (const vo… in main() local 42 userInfo, 0); in main() 43 CFRelease(userInfo); // no-warning in main()
|
| H A D | CheckNSError.m | 17 + (id)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict; 30 …*error = [NSError errorWithDomain:@"domain" code:1 userInfo:0]; // expected-warning {{Potential nu… 34 if (error) *error = [NSError errorWithDomain:@"domain" code:1 userInfo:0]; // no-warning 39 *error = [NSError errorWithDomain:@"domain" code:1 userInfo:0]; // no-warning 44 *error = [NSError errorWithDomain:@"domain" code:1 userInfo:0]; // no-warning
|
| H A D | NoReturn.m | 35 …n *)exceptionWithName:(NSString *)name reason:(NSString *)reason userInfo:(NSDictionary *)userInfo; 73 …[[NSException exceptionWithName:@"My Exception" reason:@"Want to test exceptions." userInfo:0] rai…
|
| H A D | incorrect-checker-names.mm | 102 + (id)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict; 119 …*error = [NSError errorWithDomain:@"domain" code:1 userInfo:0]; // expected-warning {{Potential nu…
|
| /llvm-project-15.0.7/clang/test/Rewriter/ |
| H A D | rewrite-modern-throw.m | 78 …n *)exceptionWithName:(NSString *)name reason:(NSString *)reason userInfo:(NSDictionary *)userInfo; 88 …set expression; left subexpression not a set (lhs = %@ rhs = %@)", leftSet, rightSet] userInfo: 0];
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/objc/ |
| H A D | avoid-nserror-init.m | 10 …GES: :[[@LINE-1]]:22: warning: use errorWithDomain:code:userInfo: or initWithDomain:code:userInfo:…
|
| /llvm-project-15.0.7/lldb/test/API/commands/expression/namespace_local_var_same_name_obj_c/ |
| H A D | util.mm | 14 NSError* error = [NSError errorWithDomain:NSURLErrorDomain code:-1 userInfo:nil]; 19 NSError* error = [NSError errorWithDomain:NSURLErrorDomain code:-1 userInfo:nil];
|
| /llvm-project-15.0.7/lldb/test/API/commands/expression/call-throws/ |
| H A D | call-throws.m | 16 userInfo:nil];
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/objc/ |
| H A D | avoid-nserror-init.rst | 9 ``errorWithDomain:code:userInfo:`` to create new NSError objects instead
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-objc/ |
| H A D | main.m | 622 userInfo:error_userInfo]; 644 userInfo:nil]; 648 userInfo:nil]; 652 userInfo:nil]; 656 userInfo:nil];
|
| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | objcmt-instancetype-2.m | 38 + (id)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict;
|
| H A D | objcmt-instancetype-2.m.result | 38 + (instancetype)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)di…
|