Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointers are always dereferenced and castAs will perform the null assertion for us.
Loading
Please sign in to comment
Use castAs<> instead of getAs<> since the pointers are always dereferenced and castAs will perform the null assertion for us.