mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
ClassDecl::getSuperclass() produces a complete interface type describing the superclass of a class, including any generic arguments (for a generic type). Most callers only need the referenced ClassDecl, which is (now) cheaper to compute: switch those callers over to ClassDecl::getSuperclassDecl(). Fixes an existing test for SR-5993.
2.1 KiB
2.1 KiB