Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [objcmt] Rewrite a NSDictionary dictionaryWithObjects:forKeys: to a ↵ | Argyrios Kyrtzidis | 2013-01-16 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | dictionary literal if we can see the elements of the arrays. for example: NSDictionary *dict = [NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"1", @"2", nil] forKeys:[NSArray arrayWithObjects:@"A", @"B", nil]]; --> NSDictionary *dict = @{ @"A" : @"1", @"B" : @"2" }; rdar://12428166 llvm-svn: 172679 | ||||
* | [objcmt] When checking whether the subscripting methods are declared use | Argyrios Kyrtzidis | 2012-06-19 | 1 | -7/+19 |
| | | | | | | | | | ObjCInterfaceDec::lookupInstanceMethod to make sure we check categories as well and update related tests. rdar://11695288 llvm-svn: 158697 | ||||
* | [objcmt] When in ARC mode, also convert "[[.. alloc] init]" messages to ↵ | Argyrios Kyrtzidis | 2012-06-06 | 1 | -0/+94 |
literals, since the change from +1 to +0 will be handled fine by ARC. rdar://11606358 llvm-svn: 158114 |