File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
SwiftCompilerSources/Sources/AST Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ extension TypeProperties {
180
180
public var hasArchetype : Bool { rawType. bridged. hasArchetype ( ) }
181
181
public var hasTypeParameter : Bool { rawType. bridged. hasTypeParameter ( ) }
182
182
public var hasLocalArchetype : Bool { rawType. bridged. hasLocalArchetype ( ) }
183
+ public var hasDynamicSelf : Bool { rawType. bridged. hasDynamicSelf ( ) }
183
184
public var isEscapable : Bool { rawType. bridged. isEscapable ( ) }
184
185
public var isNoEscape : Bool { rawType. bridged. isNoEscape ( ) }
185
186
public var isBuiltinType : Bool { rawType. bridged. isBuiltinType ( ) }
Original file line number Diff line number Diff line change @@ -3077,6 +3077,7 @@ struct BridgedASTType {
3077
3077
BRIDGED_INLINE bool isGenericAtAnyLevel () const ;
3078
3078
BRIDGED_INLINE bool hasTypeParameter () const ;
3079
3079
BRIDGED_INLINE bool hasLocalArchetype () const ;
3080
+ BRIDGED_INLINE bool hasDynamicSelf () const ;
3080
3081
BRIDGED_INLINE bool isArchetype () const ;
3081
3082
BRIDGED_INLINE bool archetypeRequiresClass () const ;
3082
3083
BRIDGED_INLINE bool isExistentialArchetype () const ;
Original file line number Diff line number Diff line change @@ -436,6 +436,10 @@ bool BridgedASTType::hasLocalArchetype() const {
436
436
return unbridged ()-> hasLocalArchetype ();
437
437
}
438
438
439
+ bool BridgedASTType ::hasDynamicSelf () const {
440
+ return unbridged ()-> hasDynamicSelfType ();
441
+ }
442
+
439
443
bool BridgedASTType ::isArchetype () const {
440
444
return unbridged ()-> is < swift ::ArchetypeType > ();
441
445
}
You can’t perform that action at this time.
0 commit comments