Skip to content

Commit d944130

Browse files
committed
SwiftCompilerSources: bridge Type.hasTypeParameter
1 parent 72fff91 commit d944130

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
@@ -239,6 +239,8 @@ struct BridgedASTType {
239239

240240
SWIFT_IMPORT_UNSAFE BRIDGED_INLINE BridgedOwnedString getDebugDescription() const;
241241

242+
BRIDGED_INLINE bool hasTypeParameter() const;
243+
242244
BRIDGED_INLINE bool isOpenedExistentialWithError() const;
243245

244246
BRIDGED_INLINE bool isEscapable() const;

include/swift/SIL/SILBridgingImpl.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ BridgedOwnedString BridgedASTType::getDebugDescription() const {
8585
return BridgedOwnedString(unbridged().getString());
8686
}
8787

88+
bool BridgedASTType::hasTypeParameter() const {
89+
return unbridged()->hasTypeParameter();
90+
}
91+
8892
bool BridgedASTType::isOpenedExistentialWithError() const {
8993
return unbridged()->isOpenedExistentialWithError();
9094
}

0 commit comments

Comments
 (0)