diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-08 16:18:46 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-08 16:18:55 +0000 |
| commit | 6ee589e2f563a2a5c91f9aeb2762f092dd197e32 (patch) | |
| tree | 713138aa3bcb9ea6cb8aa5f7694e721e3e9357df /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 7e679f88ac2e51b02e33f4d93208c7ccd5579ca1 (diff) | |
[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).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
