Xi Ge
f8dd31b8fa
migrator/test: disable fixits while testing rename migration pass.
...
The migration under testing is entirely driven by migration scripts. Having
fixits enabled may cause red herring.
2019-01-15 11:42:54 -08:00
Xi Ge
343d84ba35
migrator: handle argument renames when a global function is hoisted to a static member function. rdar://40145590
2018-05-14 11:33:25 -07:00
Ben Langmuir
1bceacf7b8
[migrator] Handle simple renames for TypeDecl
...
Previously we only handle VarDecl, but it ought to work for types as
well.
2018-05-08 14:32:15 -07:00
Robert Widmann
71bf312a25
Migrate the rest of the tests to %empty-directory
2017-06-04 11:08:39 -07:00
Xi Ge
fa78d9259e
migrator/test: move all API diff data files to Inputs directory. NFC ( #10074 )
2017-06-02 14:20:35 -07:00
Xi Ge
55843a29be
migrator: compare sub-kind when checking if two diff items are equivalent to avoid dropping information. rdar://32431567
2017-06-01 18:03:23 -07:00
Xi Ge
c7b4e36476
[migrator] Handle renaming from explicit argument label to empty argument label at call sites. rdar://32241559 ( #9873 )
2017-05-23 11:34:05 -07:00
Xi Ge
65b9043eb1
migrator: handle function hoist API changes and several its varieties. rdar://31234806 ( #9544 )
2017-05-12 21:34:06 -07:00
David Farler
bf52ff032a
[Migrator] Conservative and Minimal @objc inference workflows
...
Based on recommendations in SE-0160, there are two migration workflows:
- Conservative: Maintain @objc visibility that was inferred in Swift 3
by adding @objc to all declarations that were implicitily visible to
the Objective-C runtime. This is invoked in the migrator by adding the
-migrate-keep-objc-visibility flag.
- Minimal: Only declarations that must be visible to Objective-C based
on their uses (or in cases like dynamic vars) are migrated.
rdar://problem/31876357
2017-04-28 18:28:34 -07:00
Xi Ge
539cba9479
[Migrator] Handle enum modernization changes. ( #9077 )
2017-04-27 14:08:31 -07:00
Xi Ge
4e224c8b3c
[Test] Move test/migrator to test/Migrator. NFC
2017-04-27 12:26:27 -06:00