Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ObjectiveC migrator: until we have beter understanding of | Fariborz Jahanian | 2013-08-21 | 1 | -15/+11 | |
| | | | | | | | setter/getter implementations, migrate them to nonatomic properties. llvm-svn: 188914 | |||||
* | ObjectiveC migrator. make sure to embed audited | Fariborz Jahanian | 2013-08-20 | 1 | -6/+15 | |
| | | | | | | | candidate functions in their CF_IMPLICIT_BRIDGING_ENABLED pragma before exiting the header file. llvm-svn: 188846 | |||||
* | ObjectiveC migrator: make sure audited pragams are | Fariborz Jahanian | 2013-08-20 | 1 | -29/+38 | |
| | | | | | | dumped for last declarations in the current TU. wip. llvm-svn: 188838 | |||||
* | ObjectiveC migrator: More tweaking of heuristics | Fariborz Jahanian | 2013-08-20 | 1 | -5/+10 | |
| | | | | | | | for an audited cf function to not include those which are annotated by user. llvm-svn: 188823 | |||||
* | ObjectiveC migrator: More tweaking of heuristics | Fariborz Jahanian | 2013-08-20 | 1 | -15/+29 | |
| | | | | | | | for an audited cf function and addition of a test case. llvm-svn: 188816 | |||||
* | ARCMigrate depends on the static analyzer. | Benjamin Kramer | 2013-08-20 | 1 | -0/+1 | |
| | | | | llvm-svn: 188792 | |||||
* | ObjectiveC migrator: More work towards | Fariborz Jahanian | 2013-08-20 | 1 | -1/+9 | |
| | | | | | | insertion of ObjC audit pragmas. llvm-svn: 188733 | |||||
* | ObjectiveC migrator: Start inserting | Fariborz Jahanian | 2013-08-19 | 1 | -9/+30 | |
| | | | | | | | CF_IMPLICIT_BRIDGING_ENABLE/CF_IMPLICIT_BRIDGING_DISABLED pair. wip. llvm-svn: 188714 | |||||
* | ObjectiveC migrator. Start auditing CF functions | Fariborz Jahanian | 2013-08-19 | 1 | -41/+53 | |
| | | | | | | | for possible use of CF_IMPLICIT_BRIDGING_ENABLE pragma. llvm-svn: 188691 | |||||
* | ObjectiveC migrator: Add some more routines | Fariborz Jahanian | 2013-08-16 | 1 | -11/+62 | |
| | | | | | | for future work. No change otherwise. llvm-svn: 188591 | |||||
* | ObjectiveC migrator. Start annotating CF functions | Fariborz Jahanian | 2013-08-15 | 1 | -0/+23 | |
| | | | | | | | with CF_RETURNS_RETAINED/CF_RETURNS_NOT_RETAINED as appropriate. llvm-svn: 188493 | |||||
* | Fixes a gross conditional in my last patch. | Fariborz Jahanian | 2013-08-15 | 1 | -1/+1 | |
| | | | | | | | | - This line, and those below, will be ignored-- M lib/ARCMigrate/ObjCMT.cpp llvm-svn: 188473 | |||||
* | ObjectiveC migrator: In deciding NS_OPTION over | Fariborz Jahanian | 2013-08-15 | 1 | -3/+8 | |
| | | | | | | | NS_ENUM, at least one power of 2 enumerator must be greater than two. llvm-svn: 188470 | |||||
* | ObjectiveC migrator: Fixes a crash and makes couple | Fariborz Jahanian | 2013-08-13 | 1 | -6/+19 | |
| | | | | | | of harmless changes. llvm-svn: 188303 | |||||
* | ObjectiveC migration. Add couple of routine | Fariborz Jahanian | 2013-08-12 | 1 | -1/+23 | |
| | | | | | | , currently unused, for future cf-annotation work. llvm-svn: 188224 | |||||
* | [arcmt] When handling unbridged casts, handle the body of BlockDecl ↵ | Argyrios Kyrtzidis | 2013-08-09 | 1 | -0/+7 | |
| | | | | | | | | | | separately because ParentMap does not record Stmt parent nodes inside a BlockDecl. Fixes rdar://14686900 llvm-svn: 188101 | |||||
* | unbreak buildbot on Windows. | Fariborz Jahanian | 2013-08-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 188018 | |||||
* | ObjectiveC migrator: tighten rule about when to | Fariborz Jahanian | 2013-08-08 | 1 | -2/+2 | |
| | | | | | | | migrate to @property with getter name starting with 'is'. llvm-svn: 188013 | |||||
* | ObjectiveC migration: Handle another special case of | Fariborz Jahanian | 2013-08-08 | 1 | -18/+65 | |
| | | | | | | | setter/getter methods which can be migrated to a @property. llvm-svn: 188005 | |||||
* | ObjectiveC migration: tweak setting of lifetime attribute | Fariborz Jahanian | 2013-08-06 | 1 | -19/+30 | |
| | | | | | | | | | on @property migration. Don't set unsafe_unretained on non-object properties. Set 'retain' on strong properties. Makecertain properties with specific names unsafe_unretained as well. llvm-svn: 187810 | |||||
* | ObjectiveC migrator. Differentiate 'instancetype' | Fariborz Jahanian | 2013-08-02 | 1 | -1/+3 | |
| | | | | | | | from 'id' result type when deciding on migration to instancetype. llvm-svn: 187684 | |||||
* | ObjectiveC migrator: Add another family of factory | Fariborz Jahanian | 2013-08-02 | 1 | -7/+23 | |
| | | | | | | methods which can be migrated to instancetype. llvm-svn: 187672 | |||||
* | ObjectiveC migrator: Fixes public buildbot failures, | Fariborz Jahanian | 2013-08-02 | 1 | -17/+68 | |
| | | | | | | in my previous patch which was reverted in r187657 llvm-svn: 187661 | |||||
* | revert patch I added in r187655. It still breaks public | Fariborz Jahanian | 2013-08-02 | 1 | -64/+17 | |
| | | | | | | buildbot. llvm-svn: 187657 | |||||
* | ObjectiveC migration. Check-in patch reverted in r187634. | Fariborz Jahanian | 2013-08-02 | 1 | -17/+64 | |
| | | | | | | Also removed check for "NS" prefix for class name. llvm-svn: 187655 | |||||
* | Revert "ObjectiveC migrator. Migrate to instancetype return type for mehods ↵ | Rafael Espindola | 2013-08-02 | 1 | -63/+17 | |
| | | | | | | | | | | with certain prefix selector matching their class names' suffix." This reverts commit r187626. It is breaking the bots. llvm-svn: 187634 | |||||
* | ObjectiveC migrator. Migrate to instancetype return type | Fariborz Jahanian | 2013-08-01 | 1 | -17/+63 | |
| | | | | | | | for mehods with certain prefix selector matching their class names' suffix. llvm-svn: 187626 | |||||
* | Objective-C migrator: some cleanup. | Fariborz Jahanian | 2013-07-24 | 1 | -9/+8 | |
| | | | | | | | | Expose static type of init/alloc/retain with instance type as well. Ad-hoc cases are coming next. llvm-svn: 187068 | |||||
* | ObjectiveC migration: Method candidates for | Fariborz Jahanian | 2013-07-24 | 1 | -4/+12 | |
| | | | | | | | migrating to instancetype can have implicit 'id' type too. llvm-svn: 187062 | |||||
* | ObjectiveC migration: more migration to | Fariborz Jahanian | 2013-07-23 | 1 | -3/+16 | |
| | | | | | | instancetype of NSDictionary methods. llvm-svn: 187008 | |||||
* | ObjectiveC migrator: start migrating to | Fariborz Jahanian | 2013-07-23 | 1 | -4/+12 | |
| | | | | | | instancetype methods. llvm-svn: 187004 | |||||
* | ObjC migrator: more knobs toward doing | Fariborz Jahanian | 2013-07-23 | 1 | -0/+41 | |
| | | | | | | instancetype migration. llvm-svn: 187000 | |||||
* | ObjectiveC migration. Better handle migration to conforming | Fariborz Jahanian | 2013-07-22 | 1 | -4/+10 | |
| | | | | | | | protocols by ignoring cases where all protocol properties and methods are optional. llvm-svn: 186895 | |||||
* | Objective-C migration: Use NS_OPTIONS when enumerators | Fariborz Jahanian | 2013-07-22 | 1 | -11/+42 | |
| | | | | | | have shift/bitwise operators or are power of 2. llvm-svn: 186856 | |||||
* | [arcmt] Only disable ARC in the second compilation if there were actually ↵ | Argyrios Kyrtzidis | 2013-07-22 | 1 | -10/+21 | |
| | | | | | | | | ARC errors in the checking phase. rdar://14490204 llvm-svn: 186850 | |||||
* | ObjectiveC migrator: Another use case of enum | Fariborz Jahanian | 2013-07-19 | 1 | -3/+32 | |
| | | | | | | declaration which can be migrated to NS_ENUM. llvm-svn: 186716 | |||||
* | [arcmt] After checking is successful disable auto-synthesize to avoid ↵ | Argyrios Kyrtzidis | 2013-07-19 | 1 | -0/+3 | |
| | | | | | | | | | | "@synthesize of 'weak' property is only allowed in ARC" errors. rdar://14461559 llvm-svn: 186709 | |||||
* | Fixes an ObjC migrator crash when last decl | Fariborz Jahanian | 2013-07-19 | 1 | -3/+4 | |
| | | | | | | in file is an enum. llvm-svn: 186700 | |||||
* | ObjectiveC migrator: add support to migrate to | Fariborz Jahanian | 2013-07-19 | 1 | -5/+12 | |
| | | | | | | NS_OPTIONS. llvm-svn: 186641 | |||||
* | ObjectiveC migrator: Remove semicolon after the typedef | Fariborz Jahanian | 2013-07-18 | 1 | -4/+101 | |
| | | | | | | | declaration when converting to NS_ENUM. This required some code refactoring. llvm-svn: 186619 | |||||
* | ObjectiveC migration. migration to NS_ENUM/SN_OPTION | Fariborz Jahanian | 2013-07-18 | 1 | -0/+27 | |
| | | | | | | - wip. llvm-svn: 186604 | |||||
* | ObjectiveC migrator: When adding conforming protocol, | Fariborz Jahanian | 2013-07-17 | 1 | -1/+22 | |
| | | | | | | | only add outer-most conforming protocols as adding others are redundant. llvm-svn: 186473 | |||||
* | [arcmt] Remove some dead code. | Argyrios Kyrtzidis | 2013-07-16 | 1 | -27/+14 | |
| | | | | | | Patch by Rafael Espíndola. llvm-svn: 186462 | |||||
* | ObjectiveC migrator. If a class implements a protocol's | Fariborz Jahanian | 2013-07-16 | 1 | -9/+14 | |
| | | | | | | properties, then class conforms to that protocol. llvm-svn: 186460 | |||||
* | Update for llvm API change. | Rafael Espindola | 2013-07-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 186448 | |||||
* | ObjC migrator: build conforming interface | Fariborz Jahanian | 2013-07-16 | 1 | -1/+16 | |
| | | | | | | declaration (not yet used). wip. llvm-svn: 186369 | |||||
* | ObjC migrator: finding conforming protocol | Fariborz Jahanian | 2013-07-15 | 1 | -2/+44 | |
| | | | | | | candidates for each class. wip. llvm-svn: 186349 | |||||
* | Fixes a typo caught by Arthur O'Dwyer | Fariborz Jahanian | 2013-07-13 | 1 | -2/+2 | |
| | | | | llvm-svn: 186249 | |||||
* | ObjC migrator: More knobs for migrating | Fariborz Jahanian | 2013-07-13 | 1 | -3/+19 | |
| | | | | | | conforming protocols to each class. wip. llvm-svn: 186231 | |||||
* | ObjC migrator: early work for migrating implicitly conforming | Fariborz Jahanian | 2013-07-12 | 1 | -1/+30 | |
| | | | | | | protocols to classes. This is wip. llvm-svn: 186220 |