[clang][sema] Use castAs<> instead of getAs<> to avoid dereference of nullptr
The pointers are referenced immediately, so assert the cast is correct instead of returning nullptr
Loading
Please sign in to comment
The pointers are referenced immediately, so assert the cast is correct instead of returning nullptr