[NFC] Fix potential dereferencing of nullptr.
Replace getAs with castAs and add assert if needed. Differential revision: https://reviews.llvm.org/D153236
parent
116953b8
Please register or sign in to comment
Replace getAs with castAs and add assert if needed. Differential revision: https://reviews.llvm.org/D153236