diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-10-02 11:48:17 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-10-02 11:48:17 +0000 |
commit | 2bb217b5fec3e3b98c25a2d5d8d88f3a0b245a2c (patch) | |
tree | df5ae152df6973b57c845831cfebf643ad81bb98 /llvm/lib/CodeGen/AsmPrinter/WinException.cpp | |
parent | eed4b122eff653a8a00110ce33270e1b92ea41ca (diff) | |
download | bcm5719-llvm-2bb217b5fec3e3b98c25a2d5d8d88f3a0b245a2c.tar.gz bcm5719-llvm-2bb217b5fec3e3b98c25a2d5d8d88f3a0b245a2c.zip |
MetadataLoader upgradeCUVariables() - silence static analyzer dyn_cast_or_null<> null dereference warning. NFCI.
The static analyzer is warning about a potential null dereference, but we know that the source won't be null so just use dyn_cast, which will assert if the value somehow is actually null.
llvm-svn: 373448
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/WinException.cpp')
0 files changed, 0 insertions, 0 deletions