mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
MetadataLookup gives special treatment to imported Objective-C classes, since there's no nominal type descriptor and metadata is obtained directly by calling into the Objective-C runtime. Remote reflection also gives special treatment to imported Objective-C classes; they don't have field descriptors. However, the ASTDemangler needs to treat them like ordinary classes, in particular it wants to preserve the generic arguments here so that we can round-trip debug info.