Fix "pointer is null" static analyzer warning. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 10 Jan 2020 17:10:35 +0000 (17:10 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 10 Jan 2020 17:21:20 +0000 (17:21 +0000)
commitcdc9592bf1acb6d8012a4867d2a22458945dcceb
treec1a9b787aa35ac3f01d02d572424c93388721bc5
parenta5bdada09defc15d2b009314306f4fcb8fa8458d
Fix "pointer is null" static analyzer warning. NFCI.

Use cast<> instead of dyn_cast<> since we know that the pointer should be valid (and is dereferenced immediately).
clang/lib/ARCMigrate/ObjCMT.cpp