summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-15 11:49:21 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-15 12:18:11 +0000
commit7b15865225103389150153d12904041fcc57fd0e (patch)
tree2a45ca87018c1a103b6ee34e2f24791be0adb92b /lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py
parent7570d387c21935b58afa67cb9ee17250e38721fa (diff)
downloadbcm5719-llvm-7b15865225103389150153d12904041fcc57fd0e.tar.gz
bcm5719-llvm-7b15865225103389150153d12904041fcc57fd0e.zip
Fix "pointer is null" static analyzer warning. NFCI.
Use cast<> instead of dyn_cast<> since the pointer is always dereferenced and cast<> will perform the null assertion for us.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud