There are lots of (a) unnecessary, and (b) C-style, casts in MemRegion.cpp, and they were giving me a headache. I also noticed and fixed two non-const member functions.
I also did one drive-by fix where a conditional break was inside an unbraced loop. Code like that is always harder to read, and easily breakable.
Not exactly sure who to add here, so please redirect if you know who is? Looks like dcoughlin, aaron.ballman, and dergachev, are good bets, as they're in previous revisions.
Extra space here.