[CGObjCMac] Use castAs<> instead of getAs<> to avoid dereference of nullptr...
[CGObjCMac] Use castAs<> instead of getAs<> to avoid dereference of nullptr inside BuildRCBlockVarRecordLayout This will assert the cast is correct instead of returning nullptr (UnionType is a subtype of RecordType so this should be clean).
Loading
Please sign in to comment