swift
94a09104 - Don't try to look up info for a null TypeRef (#30640)

Commit
5 years ago
Don't try to look up info for a null TypeRef (#30640) This indirectly hardens the `swift_reflection_infoForTypeRef` API against being invoked with a null TypeRef pointer. The API already handles a nullptr being returned from `TypeConverter::getTypeInfo` by converting it into a standard "UNKNOWN" type info descriptor. Resolves rdar://60633988
Author
Parents
Loading