Commits

Doug Gregor committed 838759d155d
Omit needless words: remove arguments that match the default arguments. For cases where the Clang importer provides a defaulted argument, e.g., "[]" for option sets and "nil" for optionals, remove the corresponding arguments at any call sites that simply specify "[]" or "nil". Such arguments are basically noise, and tend to harm readability when there are low-content argument labels like "with:" or "for". Some examples from Lister: self.updateUserActivity(AppConfiguration.UserActivity.watch, userInfo: userInfo, webpageURL: nil) becomes self.updateUserActivity(AppConfiguration.UserActivity.watch, userInfo: userInfo) and contentView.hitTest(tapLocation, with: nil) becomes contentView.hitTest(tapLocation) and document.closeWithCompletionHandler(nil) becomes simply document.close() and a whole pile of optional "completion handler" arguments go away. Swift SVN r31978