diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-31 17:23:03 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-31 17:25:16 +0000 |
commit | 1307f66d17e3b63edc27a03c3a64e46d3a7bfa61 (patch) | |
tree | 9fbc3efcd4c611798c58c4b3783a45f2a4b8ee4b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | c965d5448ecdf9a5513983862a78a2ba8f7fbab8 (diff) | |
download | llvm-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