Commit ef865d16 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[clang] AddObjCKeyValueCompletions - use castAs<> instead of getAs<> to avoid...

[clang] AddObjCKeyValueCompletions - use castAs<> instead of getAs<> to avoid dereference of nullptr

The pointers are always dereferenced, so assert the cast is correct instead of returning nullptr
parent baa42c16
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment