mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Splitting *before* the last preposition tends to keep the prepositional phrase together. Only leave the preposition on the base name in rare cases where we would end up with weird argument labels (e.g., prefer "moveTo(x:y:)" to "move(toX:y:)"). Also, refine our heuristics for when we can remove the preposition entirely.
38 KiB
38 KiB