diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-01-05 10:21:55 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-01-05 10:31:45 +0000 |
commit | 7a97eeb197a8023acbb800d40b3bb852fc2f5d60 (patch) | |
tree | 3ed62483ea2572377b24ddab8caeaf73aec15158 /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | |
parent | 914066fe38a93c004b742a696ec337701eb738ec (diff) | |
download | llvm-7a97eeb197a8023acbb800d40b3bb852fc2f5d60.zip llvm-7a97eeb197a8023acbb800d40b3bb852fc2f5d60.tar.gz llvm-7a97eeb197a8023acbb800d40b3bb852fc2f5d60.tar.bz2 |
[Coroutines] checkAsyncFuncPointer - use cast<> instead of dyn_cast<> for dereferenced pointer. NFCI.
We're immediately dereferencing the casted pointer, so use cast<> which will assert instead of dyn_cast<> which can return null.
Fixes static analyzer warning.
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
0 files changed, 0 insertions, 0 deletions