Skip to content

Commit c2afdc4

Browse files
authored
Merge pull request swiftlang#12355 from eeckstein/remove-cr
benchmarks: remove deprecated CheckResults function
2 parents af34ff5 + 46c9697 commit c2afdc4

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

benchmark/utils/TestsUtils.swift

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -170,20 +170,6 @@ public func CheckResults(
170170
}
171171
}
172172

173-
// Due to potential overhead of passing closures around on the
174-
// performance measurements, this version is now deprecated
175-
@available(*, deprecated,
176-
message: "For debugging test failures only! Use the version without message.")
177-
public func CheckResults(
178-
_ resultsMatch: Bool,
179-
_ message: @autoclosure () -> String
180-
) {
181-
guard resultsMatch else {
182-
print(message())
183-
abort()
184-
}
185-
}
186-
187173
public func False() -> Bool { return false }
188174

189175
/// This is a dummy protocol to test the speed of our protocol dispatch.

0 commit comments

Comments
 (0)