diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-15 11:49:21 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-15 12:18:11 +0000 |
commit | 7b15865225103389150153d12904041fcc57fd0e (patch) | |
tree | 2a45ca87018c1a103b6ee34e2f24791be0adb92b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 7570d387c21935b58afa67cb9ee17250e38721fa (diff) | |
download | llvm-7b15865225103389150153d12904041fcc57fd0e.zip llvm-7b15865225103389150153d12904041fcc57fd0e.tar.gz llvm-7b15865225103389150153d12904041fcc57fd0e.tar.bz2 |
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 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions