Skip to content

Commit dbf1bf0

Browse files
committed
Swift SIL: add a comment for VTable.specializedClassType
1 parent e154e12 commit dbf1bf0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SwiftCompilerSources/Sources/SIL/VTable.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public struct VTable : CustomStringConvertible, NoReflectionChildren {
8787

8888
public var `class`: ClassDecl { bridged.getClass().getAs(ClassDecl.self) }
8989

90+
/// Returns the concrete class type if this is a specialized vTable.
9091
public var specializedClassType: Type? { bridged.getSpecializedClassType().typeOrNil }
9192

9293
public var isSpecialized: Bool { specializedClassType != nil }

0 commit comments

Comments
 (0)