[NFC] Fix potential dereferencing of null return value.
Replace getAs with castAs and add assert if needed. Differential Revision: https://reviews.llvm.org/D152977
Loading
Please sign in to comment
Replace getAs with castAs and add assert if needed. Differential Revision: https://reviews.llvm.org/D152977