Skip to content
Commit 69993350 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

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.
parent d9bf79f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment