swift
cfda8ca4 - Re-apply "[migrator] migrator: avoid inserting base name while renaming

Commit
7 years ago
Re-apply "[migrator] migrator: avoid inserting base name while renaming if users' member access doesn't specify the base name. rdar://40373279" Previously, we saw that unconditionally omitting type names can lead to build errors (rdar://40458118). This revised fix omits type names only when the new member name is identical to the old one.
Author
Committer
Parents
  • lib/Migrator
    • File
      APIDiffMigratorPass.cpp
  • test/Migrator
    • Inputs
      • File
        qualified.json
    • mock-sdk/Bar.framework/Headers
      • File
        Bar.h
    • File
      qualified-replacement.swift
    • qualified-replacement.swift.expected