aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-11-24 16:56:24 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-11-25 11:38:29 +0000
commit9d996c01aad5371ccf3790ce937b1cc85d1b07ab (patch)
tree083f1d0ba9947d582dd03649a392f09dc2a1aa02 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
parenteb7ea5aa1ac6030b7bc94c5f2fb42de675cd392f (diff)
downloadllvm-9d996c01aad5371ccf3790ce937b1cc85d1b07ab.zip
llvm-9d996c01aad5371ccf3790ce937b1cc85d1b07ab.tar.gz
llvm-9d996c01aad5371ccf3790ce937b1cc85d1b07ab.tar.bz2
TargetInfo.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI.
castAs<> will assert the correct cast type instead of just returning null, which we then try to dereference immediately.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions