aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-01-31 17:23:03 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-01-31 17:25:16 +0000
commit1307f66d17e3b63edc27a03c3a64e46d3a7bfa61 (patch)
tree9fbc3efcd4c611798c58c4b3783a45f2a4b8ee4b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentc965d5448ecdf9a5513983862a78a2ba8f7fbab8 (diff)
downloadllvm-1307f66d17e3b63edc27a03c3a64e46d3a7bfa61.zip
llvm-1307f66d17e3b63edc27a03c3a64e46d3a7bfa61.tar.gz
llvm-1307f66d17e3b63edc27a03c3a64e46d3a7bfa61.tar.bz2
[clang-tidy] getLambdaProperties - use cast<> instead of dyn_cast<> to avoid dereference of nullptr
The pointers are dereferenced immediately, so assert the cast is correct instead of returning nullptr
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions