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

[clang] MicrosoftCXXNameMangler::mangleObjCKindOfType - use castAs<> instead...

[clang] MicrosoftCXXNameMangler::mangleObjCKindOfType - use castAs<> instead of getAs<> to avoid dereference of nullptr

The pointer is referenced in the mangleType call, so assert the cast is correct instead of returning nullptr
parent 5d1e3ed3
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