diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-03-12 18:42:28 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-03-12 18:52:58 +0000 |
commit | adeb8c54285e754f7c34690b583a0bd9af19de78 (patch) | |
tree | fbbeda2197bb64b8ef18e1896503e77a6cf278f6 /llvm/lib/Support/Unicode.cpp | |
parent | 336530be07256728e2f4e7ae3d332f2e8939dbad (diff) | |
download | llvm-adeb8c54285e754f7c34690b583a0bd9af19de78.zip llvm-adeb8c54285e754f7c34690b583a0bd9af19de78.tar.gz llvm-adeb8c54285e754f7c34690b583a0bd9af19de78.tar.bz2 |
Replace getAs with castAs to fix null dereference static analyzer warning.
Use castAs as we know the cast should succeed (and castAs will assert if it doesn't) and we're dereferencing it directly in the BuildRCBlockVarRecordLayout call.
Diffstat (limited to 'llvm/lib/Support/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions