Skip to content

Commit 04c4665

Browse files
committed
[stdlib] Update attributes in LegacyABI.swift
1 parent 7ffa664 commit 04c4665

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

stdlib/public/core/LegacyABI.swift

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,15 @@ extension String.UTF16View {
8888
internal var _shortHeuristic: Int { return 32 }
8989
}
9090

91-
@inlinable @_transparent
91+
@usableFromInline
9292
internal func unimplemented_utf8_32bit(
9393
_ message: String = "",
9494
file: StaticString = #file, line: UInt = #line
9595
) -> Never {
9696
fatalError("32-bit: Unimplemented for UTF-8 support", file: file, line: line)
9797
}
9898

99-
@_transparent
100-
@inlinable
99+
@usableFromInline
101100
internal func _unsafePlus(_ lhs: Int, _ rhs: Int) -> Int {
102101
#if INTERNAL_CHECKS_ENABLED
103102
return lhs + rhs
@@ -106,8 +105,7 @@ internal func _unsafePlus(_ lhs: Int, _ rhs: Int) -> Int {
106105
#endif
107106
}
108107

109-
@_transparent
110-
@inlinable
108+
@usableFromInline
111109
internal func _unsafeMinus(_ lhs: Int, _ rhs: Int) -> Int {
112110
#if INTERNAL_CHECKS_ENABLED
113111
return lhs - rhs

0 commit comments

Comments
 (0)