mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Introduce ExtensionDecl::getExtendedNominal() to provide the nominal type declaration that the extension declaration extends. Move most of the existing callers of the callers to getExtendedType() over to getExtendedNominal(), because they don’t need the full type information. ExtensionDecl::getExtendedNominal() is itself not very interesting yet, because it depends on getExtendedType().
34 KiB
34 KiB