stdlib: Add @_versioned attributes needed for resilient build

This commit is contained in:
Slava Pestov
2016-04-01 05:03:22 -07:00
parent cbdc7bc5e0
commit 7b91cbd551
15 changed files with 57 additions and 3 deletions

View File

@@ -436,6 +436,7 @@ public struct UTF16 : UnicodeCodec {
/// Try to decode one Unicode scalar, and return the actual number of code
/// units it spanned in the input. This function may consume more code
/// units than required for this scalar.
@_versioned
internal mutating func _decodeOne<
I : IteratorProtocol where I.Element == CodeUnit
>(input: inout I) -> (UnicodeDecodingResult, Int) {