[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
parent
1ea58437
Please register or sign in to comment
The pointers are referenced immediately, so assert the cast is correct instead of returning nullptr