[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).
parent
7e679f88
Please register or sign in to comment