diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-08 14:26:09 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-08 14:26:09 +0000 |
commit | 06e9733fec8ddafb4c830853c198204def8a091a (patch) | |
tree | 4787ec24723ed4a7618a8f36459e8062d12c7aee /lldb/source/Commands/CommandObjectScript.cpp | |
parent | b3f193a980f2a96aaca92e73067e86197d226d30 (diff) | |
download | llvm-06e9733fec8ddafb4c830853c198204def8a091a.zip llvm-06e9733fec8ddafb4c830853c198204def8a091a.tar.gz llvm-06e9733fec8ddafb4c830853c198204def8a091a.tar.bz2 |
[CGExpr] Use castAs<> instead of getAs<> to avoid dereference of nullptr
This will assert the cast is correct instead of returning nullptr
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions