aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-11-24 17:36:58 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-11-25 11:38:30 +0000
commit88bb2656708050bdb012c9046b3e30f3975f9949 (patch)
tree5da6963dfd8ae13dcddd9ac1a90fbb38d95eded1 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
parent9d996c01aad5371ccf3790ce937b1cc85d1b07ab (diff)
downloadllvm-88bb2656708050bdb012c9046b3e30f3975f9949.zip
llvm-88bb2656708050bdb012c9046b3e30f3975f9949.tar.gz
llvm-88bb2656708050bdb012c9046b3e30f3975f9949.tar.bz2
SemaExpr.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