Skip to content
Commit 2bb217b5 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

MetadataLoader upgradeCUVariables() - silence static analyzer...

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
parent eed4b122
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment