Commits

Doug Gregor committed 2f0fc4ce4be
Omit needless words: split base names on the last preposition. For methods with at least a single parameter, split the base name at the last preposition, so long as there are no other verbs or gerunds in between. This separates out the action of the method from the description of the first parameter, the latter of which can still have needless words removed. This is particularly fun with appendBezierPath*: func appendBezierPath(with _: NSRect) func appendBezierPath(withPoints _: NSPointArray, count: Int) func appendBezierPathWithOval(`in` _: NSRect) func appendBezierPathWithArc(withCenter _: NSPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat, clockwise: Bool) func appendBezierPathWithArc(withCenter _: NSPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat) func appendBezierPathWithArc(from _: NSPoint, to: NSPoint, radius: CGFloat) func appendBezierPath(with _: NSGlyph, `in`: NSFont) func appendBezierPath(withGlyphs _: UnsafeMutablePointer<NSGlyph>, count: Int, `in`: NSFont) func appendBezierPath(withPackedGlyphs _: UnsafePointer<Int8>) @available(OSX 10.5, *) func appendBezierPath(withRoundedRect _: NSRect, xRadius: CGFloat, yRadius: CGFloat) Note: "point" and "name" are terrible verbs. Swift SVN r31976