Un-ifdef object literals

Swift SVN r32880
This commit is contained in:
Dmitri Hrybenko
2015-10-25 07:50:53 +00:00
parent 9383927356
commit 2e51d23875
35 changed files with 0 additions and 104 deletions

View File

@@ -196,7 +196,6 @@ public protocol StringInterpolationConvertible {
init<T>(stringInterpolationSegment expr: T)
}
#if SWIFT_ENABLE_OBJECT_LITERALS
/// Conforming types can be initialized with color literals (e.g.
/// `[#Color(colorLiteralRed: 1, green: 0, blue: 0, alpha: 1)#]`).
public protocol _ColorLiteralConvertible {
@@ -215,8 +214,6 @@ public protocol _FileReferenceLiteralConvertible {
init(fileReferenceLiteral: String)
}
#endif // SWIFT_ENABLE_OBJECT_LITERALS
/// A container is destructor safe if whether it may store to memory on
/// destruction only depends on its type parameters.
/// For example, whether `Array<T>` may store to memory on destruction depends