Skip to content

Commit 259bf65

Browse files
committed
SIL: remove the now unused SILFunctionType_isTrivialNoescape bridging function
1 parent df20d36 commit 259bf65

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

include/swift/SIL/SILBridging.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,6 @@ BridgedParameterInfoArray SILFunctionType_getParameters(BridgedCanType);
243243

244244
BRIDGED_INLINE bool SILFunctionType_hasSelfParam(BridgedCanType);
245245

246-
BRIDGED_INLINE bool SILFunctionType_isTrivialNoescape(BridgedCanType);
247-
248246
SWIFT_IMPORT_UNSAFE BRIDGED_INLINE
249247
BridgedYieldInfoArray SILFunctionType_getYields(BridgedCanType);
250248

include/swift/SIL/SILBridgingImpl.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,6 @@ bool SILFunctionType_hasSelfParam(BridgedCanType funcTy) {
260260
return funcTy.unbridged()->castTo<swift::SILFunctionType>()->hasSelfParam();
261261
}
262262

263-
bool SILFunctionType_isTrivialNoescape(BridgedCanType funcTy) {
264-
return funcTy.unbridged()->castTo<swift::SILFunctionType>()->isTrivialNoEscape();
265-
}
266-
267263
BridgedYieldInfoArray SILFunctionType_getYields(BridgedCanType funcTy) {
268264
return {funcTy.unbridged()->castTo<swift::SILFunctionType>()->getYields()};
269265
}

0 commit comments

Comments
 (0)