diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-03-12 15:36:33 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-03-12 15:36:49 +0000 |
| commit | 69993350aeed08b6392f614c510697579302a39b (patch) | |
| tree | 982d2bc690817e9c075ec82c305dcbc54574c78e /llvm/lib/CodeGen/MachineFunction.cpp | |
| parent | d9bf79f4e9952acca1fa353e39bcee89cd69550f (diff) | |
| download | llvm-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
