From dbf1bf0e4337bee9c861e519ebb6eaaf058b0a65 Mon Sep 17 00:00:00 2001 From: Erik Eckstein Date: Thu, 17 Apr 2025 14:30:14 +0200 Subject: [PATCH] Swift SIL: add a comment for `VTable.specializedClassType` --- SwiftCompilerSources/Sources/SIL/VTable.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/SwiftCompilerSources/Sources/SIL/VTable.swift b/SwiftCompilerSources/Sources/SIL/VTable.swift index 89dabfdef7d..7f109332914 100644 --- a/SwiftCompilerSources/Sources/SIL/VTable.swift +++ b/SwiftCompilerSources/Sources/SIL/VTable.swift @@ -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 }