mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Swift SIL: add a comment for VTable.specializedClassType
This commit is contained in:
@@ -87,6 +87,7 @@ public struct VTable : CustomStringConvertible, NoReflectionChildren {
|
|||||||
|
|
||||||
public var `class`: ClassDecl { bridged.getClass().getAs(ClassDecl.self) }
|
public var `class`: ClassDecl { bridged.getClass().getAs(ClassDecl.self) }
|
||||||
|
|
||||||
|
/// Returns the concrete class type if this is a specialized vTable.
|
||||||
public var specializedClassType: Type? { bridged.getSpecializedClassType().typeOrNil }
|
public var specializedClassType: Type? { bridged.getSpecializedClassType().typeOrNil }
|
||||||
|
|
||||||
public var isSpecialized: Bool { specializedClassType != nil }
|
public var isSpecialized: Bool { specializedClassType != nil }
|
||||||
|
|||||||
Reference in New Issue
Block a user