ecc271fefd51d825df81d78549b60037f67f0224 |
|
06-Apr-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[objcmt] Fix a mishandled conversion to objc directory literal. rdar://13181413 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178942 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/objcmt-subscripting-literals.m
|
a44b97004298a4eb7c270009ea4cb12aad49c543 |
|
17-Jan-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[objcmt] Rewrite a NSDictionary dictionaryWithObjects:forKeys: to a 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172679 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/objcmt-subscripting-literals.m
|
1838703fea568b394407b83d1055b4c7f52fb105 |
|
06-Jul-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[objcmt] Check for classes that accept 'objectForKey:' (or the other selectors that the migrator handles) but return their instances as 'id', resulting in the compiler resolving 'objectForKey:' as the method from NSDictionary. When checking if we can convert to subscripting syntax, check whether the receiver is a result of a class method from a hardcoded list of such classes. In such a case return the specific class as the interface of the receiver. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/objcmt-subscripting-literals.m
|
c2abbe0b98ec21c0c0e844c20d037639ef284664 |
|
05-Jul-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[objcmt] Allow migrating to subscripting syntax for other classes (apart from NSDictionary/NSArray) that implement objectForKey:/objectAtIndex/etc. and the subscripting methods as well. Part of rdar://11734969 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159783 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/objcmt-subscripting-literals.m
|
12b732a86cc2320dd6bc8fd7ef027b619c554f7e |
|
19-Jun-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[objcmt] When checking whether the subscripting methods are declared use ObjCInterfaceDec::lookupInstanceMethod to make sure we check categories as well and update related tests. rdar://11695288 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158697 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/objcmt-subscripting-literals.m
|
2bddd43bd87efedc308094e80af3917ef2c9a0d4 |
|
22-May-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[objcmt] Don't add redundant parentheses when migrating subscripting of an ivar. rdar://11501256 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157227 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/objcmt-subscripting-literals.m
|
20119a87fbb7719c161d81fc5f721f1ee6ed7e66 |
|
15-May-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[objcmt] When rewriting to subscripting syntax, make sure we put the receiver in parentheses when necessary. Part of rdar://11438360 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156789 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/objcmt-subscripting-literals.m
|
055b395294d190a432e9d87bb665634636a1418a |
|
15-May-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[objcmt] When rewriting to array/dictionary literals, add an explicit cast to 'id' for any argument that requires it. Part of rdar://11438360. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156782 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/objcmt-subscripting-literals.m
|
b82019b2b442400e075b03921a1bb04fa23a5458 |
|
06-Mar-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[objcmt] Add a triple to test/ARCMT/objcmt-subscripting-literals.m git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152151 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/objcmt-subscripting-literals.m
|
30660a898545416f0fea2d717f16f75640001e38 |
|
06-Mar-2012 |
Ted Kremenek <kremenek@apple.com> |
Add new code migrator support for migrating existing Objective-C code to use the new Objective-C NSArray/NSDictionary/NSNumber literal syntax. This introduces a new library, libEdit, which provides a new way to support migration of code that improves on the original ARC migrator. We now believe that most of its functionality can be refactored into the existing libraries, and thus this new library may shortly disappear. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152141 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/objcmt-subscripting-literals.m
|