aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2021-01-05 10:21:55 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2021-01-05 10:31:45 +0000
commit7a97eeb197a8023acbb800d40b3bb852fc2f5d60 (patch)
tree3ed62483ea2572377b24ddab8caeaf73aec15158 /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
parent914066fe38a93c004b742a696ec337701eb738ec (diff)
downloadllvm-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