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

[clang][sema] Sema::CheckFreeArguments - use cast<> instead of dyn_cast<> to...

[clang][sema] Sema::CheckFreeArguments - use cast<> instead of dyn_cast<> to avoid dereference of nullptr

The pointer is referenced immediately, so assert the cast is correct instead of returning nullptr
parent 5e27487f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment