Skip to content

Commit 043bf43

Browse files
committed
BridgedASTType::isEscapable
1 parent 0c4efe4 commit 043bf43

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

include/swift/SIL/SILBridging.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ struct BridgedASTType {
195195

196196
BRIDGED_INLINE bool isOpenedExistentialWithError() const;
197197

198+
BRIDGED_INLINE bool isEscapable() const;
199+
198200
// =========================================================================//
199201
// SILFunctionType
200202
// =========================================================================//

include/swift/SIL/SILBridgingImpl.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ bool BridgedASTType::isOpenedExistentialWithError() const {
7777
return unbridged()->isOpenedExistentialWithError();
7878
}
7979

80+
bool BridgedASTType::isEscapable() const {
81+
return unbridged()->isEscapable();
82+
}
83+
8084
BridgedResultInfoArray
8185
BridgedASTType::SILFunctionType_getResultsWithError() const {
8286
return unbridged()->castTo<swift::SILFunctionType>()->getResultsWithError();

0 commit comments

Comments
 (0)