summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-14 13:48:02 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-14 14:00:38 +0000
commit591cd40584300a1d5d33bfaefa4698c02ef56887 (patch)
tree52a7cf2662558b0a9864aa7c972fd27da32d3ae7 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parent9d905e8ceddda8b103e208ed43a117cb4445e682 (diff)
downloadbcm5719-llvm-591cd40584300a1d5d33bfaefa4698c02ef56887.tar.gz
bcm5719-llvm-591cd40584300a1d5d33bfaefa4698c02ef56887.zip
Fix "pointer is null" static analyzer warnings. NFCI.
Use cast<> instead of cast_or_null<> since the pointers are always dereferenced and cast<> will perform the null assertion for us.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud