remove the logic for upgrading Swift 1's print that used "appendNewline"

to Swift 2 syntax that uses "terminator".  It is legacy, and removing it
allows simplifications.
This commit is contained in:
Chris Lattner
2015-12-22 14:41:32 -08:00
parent 6862abd7c4
commit 2bfb788ef2
5 changed files with 15 additions and 95 deletions

View File

@@ -45,10 +45,6 @@ struct Test1 : RawOptionSetType {
var rawValue: Int { return 0 }
}
print("", appendNewline: false)
Swift.print("", appendNewline: false)
print("", appendNewline: true)
print("", false, appendNewline: false)
print("", false)
func ftest1() {

View File

@@ -45,10 +45,6 @@ struct Test1 : OptionSetType {
var rawValue: Int { return 0 }
}
print("", terminator: "")
Swift.print("", terminator: "")
print("", terminator: "\n")
print("", false, appendNewline: false)
print("", false)
func ftest1() {