Swift SIL: add a comment for VTable.specializedClassType

This commit is contained in:
Erik Eckstein
2025-04-17 14:30:14 +02:00
parent e154e12913
commit dbf1bf0e43

View File

@@ -87,6 +87,7 @@ public struct VTable : CustomStringConvertible, NoReflectionChildren {
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 isSpecialized: Bool { specializedClassType != nil }