Skip to content

Commit 69e46e6

Browse files
committed
Remove additional inlines
1 parent 2b80e0c commit 69e46e6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

stdlib/public/SDK/Foundation/Data.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,12 +1668,10 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
16681668

16691669
/// Sets or returns the byte at the specified index.
16701670
public subscript(index: Index) -> UInt8 {
1671-
@inlinable
16721671
get {
16731672
_validateIndex(index)
16741673
return _backing.get(index)
16751674
}
1676-
@inlinable
16771675
set {
16781676
_validateIndex(index)
16791677
if !isKnownUniquelyReferenced(&_backing) {
@@ -1684,20 +1682,17 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
16841682
}
16851683

16861684
public subscript(bounds: Range<Index>) -> Data {
1687-
@inlinable
16881685
get {
16891686
_validateRange(bounds)
16901687
return Data(backing: _backing, range: bounds)
16911688
}
1692-
@inlinable
16931689
set {
16941690
replaceSubrange(bounds, with: newValue)
16951691
}
16961692
}
16971693

16981694
public subscript<R: RangeExpression>(_ rangeExpression: R) -> Data
16991695
where R.Bound: FixedWidthInteger, R.Bound.Stride : SignedInteger {
1700-
@inlinable
17011696
get {
17021697
let lower = R.Bound(_sliceRange.lowerBound)
17031698
let upper = R.Bound(_sliceRange.upperBound)
@@ -1708,7 +1703,6 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
17081703
_validateRange(r)
17091704
return Data(backing: _backing, range: r)
17101705
}
1711-
@inlinable
17121706
set {
17131707
let lower = R.Bound(_sliceRange.lowerBound)
17141708
let upper = R.Bound(_sliceRange.upperBound)
@@ -1724,7 +1718,6 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
17241718

17251719
/// The start `Index` in the data.
17261720
public var startIndex: Index {
1727-
@inlinable
17281721
get {
17291722
return _sliceRange.lowerBound
17301723
}
@@ -1734,24 +1727,20 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
17341727
///
17351728
/// This is the "one-past-the-end" position, and will always be equal to the `count`.
17361729
public var endIndex: Index {
1737-
@inlinable
17381730
get {
17391731
return _sliceRange.upperBound
17401732
}
17411733
}
17421734

1743-
@inlinable
17441735
public func index(before i: Index) -> Index {
17451736
return i - 1
17461737
}
17471738

1748-
@inlinable
17491739
public func index(after i: Index) -> Index {
17501740
return i + 1
17511741
}
17521742

17531743
public var indices: Range<Int> {
1754-
@inlinable
17551744
get {
17561745
return startIndex..<endIndex
17571746
}

0 commit comments

Comments
 (0)