aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-03-12 15:36:33 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-03-12 15:36:49 +0000
commit69993350aeed08b6392f614c510697579302a39b (patch)
tree982d2bc690817e9c075ec82c305dcbc54574c78e /llvm/lib/CodeGen/MachineFunction.cpp
parentd9bf79f4e9952acca1fa353e39bcee89cd69550f (diff)
downloadllvm-69993350aeed08b6392f614c510697579302a39b.zip
llvm-69993350aeed08b6392f614c510697579302a39b.tar.gz
llvm-69993350aeed08b6392f614c510697579302a39b.tar.bz2
ObjCMethodDecl::findPropertyDecl - fix static analyzer null dereference warnings. NFCI.
All paths dereference the ClassDecl pointer, so use a cast<> instead of dyn_cast<>, assert that its not null and remove the remaining null tests.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions