diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-03-09 10:51:43 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-03-09 11:40:37 +0000 |
| commit | a157d839c52077001f234ce5c8b0cbc05fbb429c (patch) | |
| tree | 0d8557f3539db569b06ee8862fed3294cdef6c70 /lldb/test/API/python_api/debugger/TestDebuggerAPI.py | |
| parent | be2be04f9f983966be828885437a25aa1ac6f6d3 (diff) | |
[clang] Environment::createValueUnlessSelfReferential - use castAs<> instead of getAs<> to avoid dereference of nullptr
The pointer is always dereferenced, so assert the cast is correct instead of returning nullptr
Diffstat (limited to 'lldb/test/API/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions
