[PATCH] D16044: getDescriptiveName() for MemRegion

Alexander Droste via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 30 16:30:46 PDT 2016


Alexander_Droste added a comment.

> It's a bug in the checker. dyn_cast should not be called on a null pointer. You could either check for nun or call dyn_cast_or_null.


Thanks for pointing this out! Adding guards that check for `nullptr` fixed the problem.


http://reviews.llvm.org/D16044





More information about the cfe-commits mailing list