mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: Add @_versioned attributes needed for resilient build
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user